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

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

Issue 2366853002: Invalidate paint of FrameView before invalidating the layout tree (Closed)
Patch Set: NeedsRebaseline Created 4 years, 3 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 e3e54a9d656d0aa466bcbd0d44885198f09e094f..3a1f068f646cc359db41be7eff821d92d7325434 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1143,8 +1143,8 @@ void FrameView::invalidateTreeIfNeeded(const PaintInvalidationState& paintInvali
TRACE_EVENT1("blink", "FrameView::invalidateTree", "root", rootForPaintInvalidation.debugName().ascii());
- rootForPaintInvalidation.invalidateTreeIfNeeded(paintInvalidationState);
invalidatePaintIfNeeded(paintInvalidationState);
+ rootForPaintInvalidation.invalidateTreeIfNeeded(paintInvalidationState);
#if ENABLE(ASSERT)
layoutView()->assertSubtreeClearedPaintInvalidationFlags();

Powered by Google App Engine
This is Rietveld 408576698