WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
110544
Use CFNotificationCenter instead of NSNotificationCenter for SharedTimerIOS
https://bugs.webkit.org/show_bug.cgi?id=110544
Summary
Use CFNotificationCenter instead of NSNotificationCenter for SharedTimerIOS
Benjamin Poulain
Reported
2013-02-21 19:01:41 PST
Use CFNotificationCenter instead of NSNotificationCenter for SharedTimerIOS
Attachments
Patch
(3.25 KB, patch)
2013-02-21 19:04 PST
,
Benjamin Poulain
dbates
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
2013-02-21 19:04:48 PST
Created
attachment 189660
[details]
Patch
Daniel Bates
Comment 2
2013-02-22 11:52:23 PST
Comment on
attachment 189660
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=189660&action=review
This patch looks straightforward to me. You may want to consider adding a remark that we never remove the observer for notification UIApplicationDidBecomeActiveNotification. (This behavior is consistent with the behavior we had when we used WebCoreResumeNotifierIOS). If you are looking for a more thorough review then feel free to have someone more familiar with {CF, NS}NotificationCenter review this patch.
> Source/WebCore/ChangeLog:8 > + Previously, we were instanciating the Obj-C object WebCoreResumeNotifierIOS
Nit: instanciating => instantiating
> Source/WebCore/ChangeLog:12 > + without the itermediary object.
Nit: itermediary => intermediary
> Source/WebCore/platform/ios/SharedTimerIOS.mm:38 > +static void applicationDidBecomeActive(CFNotificationCenterRef, void*, CFStringRef, const void *, CFDictionaryRef)
Nit: "void *" => "void*" Notice that lack of a space character between "void" and the '*'.
Benjamin Poulain
Comment 3
2013-02-22 14:17:20 PST
Committed
r143795
: <
http://trac.webkit.org/changeset/143795
>
Benjamin Poulain
Comment 4
2013-02-22 14:17:49 PST
Thank you for the review.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug