| Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| index fd63a8c4c28799f5b87de40cc57d89f3b1e1f93c..5b5d29e843231598da863f36a4d5c0a8304b907c 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -318,6 +318,13 @@ void HTMLCanvasElement::didFinalizeFrame()
|
| m_dirtyRect = FloatRect();
|
| }
|
|
|
| +void HTMLCanvasElement::didDisableAcceleration()
|
| +{
|
| + // We must force a paint invalidation on the canvas even if it's
|
| + // content did not change because it layer was destroyed.
|
| + didDraw(FloatRect(0, 0, size().width(), size().height()));
|
| +}
|
| +
|
| void HTMLCanvasElement::restoreCanvasMatrixClipStack(SkCanvas* canvas) const
|
| {
|
| if (m_context)
|
|
|