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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2545093002: setNeedsPaintPropertyUpdate on FrameView contents size change (Closed)
Patch Set: guard 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 | « no previous file | 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 1af62f777d806aee66e8d8e0f2d162ce87fb8266..66f377675817bd498412d0f567f5a610a9440509 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -636,6 +636,10 @@ void FrameView::setContentsSize(const IntSize& size) {
updateScrollbars();
ScrollableArea::contentsResized();
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() &&
+ !RuntimeEnabledFeatures::rootLayerScrollingEnabled())
+ setNeedsPaintPropertyUpdate();
+
Page* page = frame().page();
if (!page)
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698