[Webkit-unassigned] [Bug 114674] [BlackBerry] LayerTexture: check if the graphics context is NULL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 04:52:32 PDT 2013


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





--- Comment #2 from Rob Buis <rwlbuis at gmail.com>  2013-04-16 04:50:48 PST ---
(From update of attachment 198280)
View in context: https://bugs.webkit.org/attachment.cgi?id=198280&action=review

> Source/WebCore/platform/graphics/blackberry/LayerTexture.cpp:-70
> -    gc->addFillRect(BlackBerry::Platform::FloatRect(0, 0, 1, 1));

Why was this never a problem before? Did the semantics of lockBufferDrawable change?

> Source/WebCore/platform/graphics/blackberry/LayerTexture.cpp:69
> +    if (gc) {

It is WebKit style to put the temp var declaration in the if.

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