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

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..e1ad08d7026e2ef07b579e153d9c3f164aceb41a 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -556,6 +556,9 @@ void FrameView::setFrameRect(const IntRect& newRect) {
setNeedsPaintPropertyUpdate();
}
+ if (auto layoutViewItem = this->layoutViewItem())
+ layoutViewItem.setMayNeedPaintInvalidation();
+
if (frameSizeChanged) {
viewportSizeChanged(newRect.width() != oldRect.width(),
newRect.height() != oldRect.height());

Powered by Google App Engine
This is Rietveld 408576698