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

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

Issue 2733773004: Add check for missing visual rect updates and fix failures (Closed)
Patch Set: Created 3 years, 9 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index e3c6e83a079b087481dbfc59f9e235e0f2f0aa05..f4e9a23ebee1a659a4ca0dc63ce8c16dcc8befcd 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -554,6 +554,8 @@ void FrameView::setFrameRect(const IntRect& newRect) {
// The overflow clip property depends on the frame size and the pre
// translation property depends on the frame location.
setNeedsPaintPropertyUpdate();
+ if (auto layoutViewItem = this->layoutViewItem())
+ layoutViewItem.setMayNeedPaintInvalidation();
}
if (frameSizeChanged) {

Powered by Google App Engine
This is Rietveld 408576698