| Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index 1b2abc1ea9a423408b573c85161671c7816b1119..f5317dab82a32a119a495a017a2d9e726e42187f 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -513,18 +513,10 @@ void Canvas2DLayerBridge::finalizeFrame(const FloatRect &dirtyRect)
|
| m_didRecordDrawCommand = true;
|
| }
|
|
|
| -PassRefPtr<SkImage> Canvas2DLayerBridge::getBackingTextureImage()
|
| +PassRefPtr<SkImage> Canvas2DLayerBridge::newImageSnapshot()
|
| {
|
| if (!checkSurfaceValid())
|
| return nullptr;
|
| -
|
| - context()->flush();
|
| -
|
| - return adoptRef(m_canvas->newImageSnapshot());
|
| -}
|
| -
|
| -PassRefPtr<SkImage> Canvas2DLayerBridge::newImageSnapshot()
|
| -{
|
| return adoptRef(m_canvas->newImageSnapshot());
|
| }
|
|
|
|
|