Bug 110130

Summary: Web Inspector: [Canvas] use timeline's didBeginFrame for marking frame end calls
Product: WebKit Reporter: Andrey Adaikin <aandrey>
Component: Web Inspector (Deprecated)Assignee: Andrey Adaikin <aandrey>
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 110227    
Description Flags
Patch pfeldman: review+

Description Andrey Adaikin 2013-02-18 09:14:54 PST
Use timeline's didBeginFrame for marking frame end calls instead of an ad-hoc timeout-based solution.

Patch to follow.
Comment 1 Andrey Adaikin 2013-02-18 09:19:12 PST
Created attachment 188902 [details]
Comment 2 Andrey Adaikin 2013-02-19 07:15:30 PST
Committed r143328: <http://trac.webkit.org/changeset/143328>
Comment 3 Andrey Adaikin 2013-02-19 08:34:33 PST
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