Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index e2046769f81c0932b687ad0eca28212a8b3dbb13..627207c8c1d20cd13cbf4a399929b397b9ed7e19 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -1087,13 +1087,7 @@ private: |
bool isBox() const = delete; // This will catch anyone doing an unnecessary check. |
- void frameRectChanged() |
- { |
- // The frame rect may change because of layout of other objects. |
- // Should check this object for paint invalidation. |
- if (!needsLayout()) |
- setMayNeedPaintInvalidation(); |
- } |
+ void frameRectChanged(); |
// Returns true if the box intersects the viewport visible to the user. |
bool intersectsVisibleViewport(); |