| Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index b9f1fcf255dad651fd297371c8a79fc4db7959e4..7d4dbdfeb5ffda1cedadb8ca768f5bef85f0379f 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -546,7 +546,7 @@ blink::WebLayer* Canvas2DLayerBridge::layer() const
|
| return m_layer->layer();
|
| }
|
|
|
| -void Canvas2DLayerBridge::willUse()
|
| +void Canvas2DLayerBridge::didDraw()
|
| {
|
| ASSERT(!m_destructionInProgress);
|
| Canvas2DLayerManager::get().layerDidDraw(this);
|
| @@ -558,7 +558,6 @@ Platform3DObject Canvas2DLayerBridge::getBackingTexture()
|
| ASSERT(!m_destructionInProgress);
|
| if (!checkSurfaceValid())
|
| return 0;
|
| - willUse();
|
| m_canvas->flush();
|
| context()->flush();
|
| GrRenderTarget* renderTarget = m_canvas->getTopDevice()->accessRenderTarget();
|
|
|