Chromium Code Reviews| 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 0c25d1d773f4465d4a9523222349b8654fd471a5..876211cc4bcbd9cdb1b907224e8919b685774402 100644 |
| --- a/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp |
| +++ b/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp |
| @@ -169,9 +169,10 @@ WebGraphicsContext3D* Canvas2DLayerBridge::context() |
| return m_context->webContext(); |
| } |
| -bool Canvas2DLayerBridge::prepareMailbox(WebKit::WebExternalTextureMailbox* outMailbox) |
| +bool Canvas2DLayerBridge::prepareMailbox(WebKit::WebExternalTextureMailbox* outMailbox, bool bitmap) |
| { |
| #if ENABLE(CANVAS_USES_MAILBOX) |
| + ASSERT(!bitmap); |
|
Ken Russell (switch to Gerrit)
2013/06/27 13:41:02
How will this work? Is there a guarantee somewhere
|
| // Release to skia textures that were previouosly released by the |
| // compositor. We do this before acquiring the next snapshot in |
| // order to cap maximum gpu memory consumption. |