Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2204503002: ResizeObserver pt6: integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test for moving dom inside eventloop Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698