| 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 ce4019c173a0769176bb9d07578c481753834b77..5db6d549ebb8dce8372800b6678c7c54e51b9c49 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| @@ -160,12 +160,11 @@ void CanvasRenderingContext::didProcessTask() {
|
| Platform::current()->currentThread()->removeTaskObserver(this);
|
| m_finalizeFrameScheduled = false;
|
|
|
| - if (!canvas())
|
| - return;
|
| -
|
| // The end of a script task that drew content to the canvas is the point
|
| // at which the current frame may be considered complete.
|
| - canvas()->finalizeFrame();
|
| + if (canvas())
|
| + canvas()->finalizeFrame();
|
| + finalizeFrame();
|
| }
|
|
|
| CanvasRenderingContext::ContextType CanvasRenderingContext::contextTypeFromId(
|
|
|