| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 78d02a87c11a1c59fab1f61efe381b2dd8aebd62..2c5db5882af808c159c975a29d9a6578ab8fd268 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -3436,6 +3436,10 @@ void LayoutObject::setShouldDoFullPaintInvalidation(PaintInvalidationReason reas
|
|
|
| void LayoutObject::setMayNeedPaintInvalidation()
|
| {
|
| + if (node() && node()->isElementNode()) {
|
| + Element& element = toElement(*node());
|
| + element.sizeMightHaveChanged();
|
| + }
|
| if (mayNeedPaintInvalidation())
|
| return;
|
| m_bitfields.setMayNeedPaintInvalidation(true);
|
|
|