[Webkit-unassigned] [Bug 60770] [Qt] QtWebKit bridge assignToHTMLImageElement() results in invalid Image for WebGLRenderingContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 22 19:01:07 PDT 2011


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





--- Comment #6 from Antonio Gomes <tonikitoo at webkit.org>  2011-05-22 19:01:07 PST ---
(From update of attachment 94256)
View in context: https://bugs.webkit.org/attachment.cgi?id=94256&action=review

> Source/WebCore/bridge/qt/qt_pixmapruntime.cpp:103
> +        imageElement->setCachedImage(new CachedImage(stillImage.get(), document->documentURI()));

Just a side comment: I think new'ing an object like this (and passing ownership) is a bad practice in WebKit.

-- 
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