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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 27 05:21:27 PDT 2011


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





--- Comment #7 from Alexis Menard <alexis.menard at openbossa.org>  2011-05-27 05:21:27 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.

+1

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