| Index: Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerBridge.cpp b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| index f88c27805e4cc712875e7739b143abb1300888af..e5fd47edd20a7ef2218c4292af22032cadc6644d 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| +++ b/Source/platform/graphics/Canvas2DLayerBridge.cpp
|
| @@ -222,7 +222,6 @@ void Canvas2DLayerBridge::prepareForDraw()
|
| }
|
| return;
|
| }
|
| - context()->makeContextCurrent();
|
| }
|
|
|
| void Canvas2DLayerBridge::storageAllocatedForRecordingChanged(size_t bytesAllocated)
|
| @@ -408,7 +407,6 @@ bool Canvas2DLayerBridge::prepareMailbox(WebExternalTextureMailbox* outMailbox,
|
| // 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.
|
| - webContext->makeContextCurrent();
|
| flush();
|
|
|
| RefPtr<SkImage> image = adoptRef(m_canvas->newImageSnapshot());
|
|
|