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

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

Issue 2876923002: Track client debug names for raster invalidation tracking (Closed)
Patch Set: Rebaseline virtual/spv2/paint/invalidation/margin.html Created 3 years, 7 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 8d4c481c736b66dee09a30ed0aea50f0701552ed..2f01e8f4bee12cc9fd38188769eb1e48a740c8ff 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3734,6 +3734,9 @@ void FrameView::SetTracksPaintInvalidations(bool track_paint_invalidations) {
if (track_paint_invalidations == IsTrackingPaintInvalidations())
return;
+ // Ensure the document is up-to-date before tracking invalidations.
+ UpdateAllLifecyclePhases();
+
for (Frame* frame = &frame_->Tree().Top(); frame;
frame = frame->Tree().TraverseNext()) {
if (!frame->IsLocalFrame())

Powered by Google App Engine
This is Rietveld 408576698