[Webkit-unassigned] [Bug 88507] [Refactoring] requestAnimationFrame() can be Supplement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 7 16:59:35 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88507





--- Comment #2 from Adam Barth <abarth at webkit.org>  2012-06-07 16:59:34 PST ---
I think what Morrita means is that we can use the Supplement pattern to remove all the ENABLE(REQUEST_ANIMATION_FRAME) ifdefs and m_scriptedAnimationController mentions from Document.cpp.

The idea is that ScriptedAnimationController would subclass Supplement<ScriptExceptionContext> and folks that wanted to talk with the controller would ask for ScriptedAnimationController::from(document).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list