Summary: | [BlackBerry] Switch WebPageCompositor to use AnimationFrameRateController instead of timer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andrew Lo <anlo> | ||||||||
Component: | WebKit BlackBerry | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | rwlbuis, tonikitoo, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Andrew Lo
2012-03-27 09:47:44 PDT
Created attachment 134092 [details]
Patch
Comment on attachment 134092 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134092&action=review Looks good, some prefixes can be stripped. > Source/WebKit/blackberry/Api/WebPageCompositor.cpp:53 > + BlackBerry::Platform::AnimationFrameRateController::instance()->removeClient(this); No BlackBerry prefix needed. > Source/WebKit/blackberry/Api/WebPageCompositor.cpp:130 > + BlackBerry::Platform::AnimationFrameRateController::instance()->addClient(this); Ditto. > Source/WebKit/blackberry/Api/WebPageCompositor_p.h:44 > +class WebPageCompositorPrivate : public RefCounted<WebPageCompositorPrivate>, public BlackBerry::Platform::AnimationFrameRateClient { Ditto. Created attachment 134099 [details]
Patch
Created attachment 134100 [details]
Patch
Comment on attachment 134100 [details]
Patch
Perfect!
Comment on attachment 134100 [details] Patch Clearing flags on attachment: 134100 Committed r112287: <http://trac.webkit.org/changeset/112287> All reviewed patches have been landed. Closing bug. |