| 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 bfd4ac0787e2ea883278e4d58ee0d8d7ac8ddab9..9fc3f21bc2c3bdecf7cf92b69d97f0277c1eb5d4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp
|
| @@ -280,7 +280,7 @@ void HTMLCanvasElement::didDraw(const FloatRect& rect)
|
| return;
|
| m_imageBufferIsClear = false;
|
| clearCopiedImage();
|
| - if (layoutObject())
|
| + if (hasLayoutObject())
|
| layoutObject()->setMayNeedPaintInvalidation();
|
| if (m_context && m_context->is2d() && m_context->shouldAntialias() && page() && page()->deviceScaleFactor() > 1.0f) {
|
| FloatRect inflatedRect = rect;
|
|
|