[webkit-reviews] review granted: [Bug 103793] Associate URLs with GraphicsContext3D instances created for WebGL : [Attachment 177411] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 3 23:31:47 PST 2012


Adam Barth <abarth at webkit.org> has granted Kenneth Russell <kbr at google.com>'s
request for review:
Bug 103793: Associate URLs with GraphicsContext3D instances created for WebGL
https://bugs.webkit.org/show_bug.cgi?id=103793

Attachment 177411: Patch
https://bugs.webkit.org/attachment.cgi?id=177411&action=review

------- Additional Comments from Adam Barth <abarth at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=177411&action=review


> Source/WebCore/html/canvas/WebGLRenderingContext.cpp:428
> +    attributes.topDocumentURL =
document->frame()->tree()->top()->document()->url();

document->topDocument() will save you a lot of typing.


More information about the webkit-reviews mailing list