| Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| index 999194f6db80ca28d287ec31de44d7a6a28a1e32..2ddfe27b909e4759d15e29fcb0e0e4f3733a9a88 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| @@ -118,6 +118,10 @@ void CanvasRenderingContext::dispose() {
|
| canvas()->detachContext();
|
| m_canvas = nullptr;
|
| }
|
| + if (offscreenCanvas()) {
|
| + offscreenCanvas()->detachContext();
|
| + m_offscreenCanvas = nullptr;
|
| + }
|
| }
|
|
|
| CanvasRenderingContext::ContextType CanvasRenderingContext::contextTypeFromId(
|
|
|