This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
[Cocoa] Return early from preference change notification handler if t…
…here is no observer https://bugs.webkit.org/show_bug.cgi?id=213050 Reviewed by Darin Adler. Currently, the observer member is checked inside the loop iterating over all the keys, but this check should be moved outside of the loop. No new tests, since this is not a change in behavior. * UIProcess/Cocoa/PreferenceObserver.mm: (-[WKUserDefaults _notifyObserversOfChangeFromValuesForKeys:toValuesForKeys:]): Canonical link: https://commits.webkit.org/225834@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 18 additions and 3 deletions.