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

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

Issue 2622983002: Move "prePaint" under the "Update Layer Tree" devtools timeline step (Closed)
Patch Set: Created 3 years, 11 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
« 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 20aa9f46aa577f6803618959df897b0057191936..e4a1a4ecb0a60857a138b8718f4f55176fd7b911 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2938,10 +2938,12 @@ void FrameView::updateLifecyclePhasesInternal(
updateCompositedSelectionIfNeeded();
}
- }
- if (targetState >= DocumentLifecycle::PrePaintClean)
- prePaint();
+ // TODO(pdr): prePaint should be under the "Paint" devtools timeline step
+ // for slimming paint v2.
+ if (targetState >= DocumentLifecycle::PrePaintClean)
+ prePaint();
+ }
if (RuntimeEnabledFeatures::slimmingPaintV2Enabled())
DocumentAnimations::updateAnimations(layoutView()->document());
« 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