Use timeline's didBeginFrame for marking frame end calls instead of an ad-hoc timeout-based solution. Patch to follow.
Created attachment 188902 [details] Patch
Committed r143328: <http://trac.webkit.org/changeset/143328>
This patch broke Win Debug Build: 7> Creating library C:\cygwin\home\buildbot\slave\win-debug\build\WebKitBuild\Debug\lib\WebKit.lib and object C:\cygwin\home\buildbot\slave\win-debug\build\WebKitBuild\Debug\lib\WebKit.exp 7>WebCore.lib(InspectorController.obj) : error LNK2001: unresolved external symbol "public: void __thiscall WebCore::InspectorCanvasAgent::didBeginFrame(void)" (?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ) 7>C:\cygwin\home\buildbot\slave\win-debug\build\WebKitBuild\Debug\bin\WebKit.dll : fatal error LNK1120: 1 unresolved externals 7>Build log was saved at "file://C:\cygwin\home\buildbot\slave\win-debug\build\WebKitBuild\Debug\obj\WebKitLib\BuildLog.htm" 7>WebKitLib - 2 error(s), 1 warning(s) Patch with the fix is on the way: https://bugs.webkit.org/show_bug.cgi?id=110227