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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp

Issue 2546173003: Fix under-invalidation of frameset on resize (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFrameSet.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
index 34c56d65e6562dc8b404d9aaa7d16690874965c0..1beda05a99a34e67327c4d017ad361353f92d501 100644
--- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
@@ -179,6 +179,10 @@ PaintInvalidationReason BoxPaintInvalidator::computePaintInvalidationReason() {
m_box.mustInvalidateBackgroundOrBorderPaintOnHeightChange())
return PaintInvalidationBorderBoxChange;
+ // Needs to repaint frame boundaries.
+ if (m_box.isFrameSet())
+ return PaintInvalidationBorderBoxChange;
+
return PaintInvalidationIncremental;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFrameSet.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698