| Index: Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp b/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp
|
| index ee1386651b4d8eb0a4f72582ad3dbf133cef01c6..1d2be5b92ec00cc97944b5e1f37b904a7a9c6080 100644
|
| --- a/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp
|
| +++ b/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp
|
| @@ -44,7 +44,7 @@ using WebKit::WebTextureUpdater;
|
|
|
| namespace WebCore {
|
|
|
| -Canvas2DLayerBridge::Canvas2DLayerBridge(PassRefPtr<GraphicsContext3D> context, const IntSize& size, ThreadMode threadMode, unsigned textureId)
|
| +Canvas2DLayerBridge::Canvas2DLayerBridge(PassRefPtr<GraphicsContext3D> context, const IntSize& size, OpacityMode opacityMode, ThreadMode threadMode, unsigned textureId)
|
| : m_backBufferTexture(textureId)
|
| , m_size(size)
|
| , m_canvas(0)
|
| @@ -61,6 +61,7 @@ Canvas2DLayerBridge::Canvas2DLayerBridge(PassRefPtr<GraphicsContext3D> context,
|
| m_layer = adoptPtr(WebKit::Platform::current()->compositorSupport()->createExternalTextureLayer(this));
|
| m_layer->setTextureId(textureId);
|
| m_layer->setRateLimitContext(threadMode == SingleThread);
|
| + m_layer->setOpaque(opacityMode == Opaque);
|
| GraphicsLayerChromium::registerContentsLayer(m_layer->layer());
|
| }
|
|
|
|
|