Changeset 148516 in webkit
- Timestamp:
- Apr 16, 2013 9:16:04 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148508 r148516 1 2013-04-16 Anthony Scian <ascian@blackberry.com> 2 3 [BlackBerry] LayerTexture: check if the graphics context is NULL 4 https://bugs.webkit.org/show_bug.cgi?id=114674 5 6 Reviewed by Rob Buis. 7 8 Internal PR: 256522 9 10 * platform/graphics/blackberry/LayerTexture.cpp: 11 (WebCore::LayerTexture::setContentsToColor): 12 1 13 2013-04-13 Andreas Kling <akling@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/blackberry/LayerTexture.cpp
r148192 r148516 66 66 67 67 m_buffer = BlackBerry::Platform::Graphics::createBuffer(IntSize(1, 1), BlackBerry::Platform::Graphics::BackedWhenNecessary); 68 BlackBerry::Platform::Graphics::PlatformGraphicsContext* gc = lockBufferDrawable(m_buffer); 69 gc->setFillColor(rgba); 70 gc->addFillRect(BlackBerry::Platform::FloatRect(0, 0, 1, 1)); 68 if (BlackBerry::Platform::Graphics::PlatformGraphicsContext* gc = lockBufferDrawable(m_buffer)) { 69 gc->setFillColor(rgba); 70 gc->addFillRect(BlackBerry::Platform::FloatRect(0, 0, 1, 1)); 71 } 71 72 releaseBufferDrawable(m_buffer); 72 73
Note: See TracChangeset
for help on using the changeset viewer.