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

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

Issue 2544743002: 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 f9558e30b369b12c909c3d3a96fa0b9eb44efb66..389dbf5879e343401e9a210e4f3cd0d2a38aa162 100644
--- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
@@ -158,6 +158,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