[webkit-reviews] review granted: [Bug 173115] [iOS] LowPowerModeNotifier notifies client on non-main thread : [Attachment 312348] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 8 17:05:18 PDT 2017


Ryosuke Niwa <rniwa at webkit.org> has granted Chris Dumez <cdumez at apple.com>'s
request for review:
Bug 173115: [iOS] LowPowerModeNotifier notifies client on non-main thread
https://bugs.webkit.org/show_bug.cgi?id=173115

Attachment 312348: Patch

https://bugs.webkit.org/attachment.cgi?id=312348&action=review




--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 312348
  --> https://bugs.webkit.org/attachment.cgi?id=312348
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=312348&action=review

> Source/WebCore/platform/ios/LowPowerModeNotifierIOS.mm:64
> +    dispatch_async(dispatch_get_main_queue(), ^ {

Why don't we just use callOnMainThread??


More information about the webkit-reviews mailing list