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 e92d002234bfd6f55aee9324e65d3e63b973f65e..3ced59e9528c400b0308c4bcb5e3f757bb123e69 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -1076,13 +1076,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(); |
virtual bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const { return hitTestAction == HitTestForeground; } |