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

Unified Diff: third_party/WebKit/Source/core/page/PageAnimator.cpp

Issue 2028523002: Attribute Stuff to Frames with FrameBlamer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: UTC201606010826 Created 4 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/page/PageAnimator.cpp
diff --git a/third_party/WebKit/Source/core/page/PageAnimator.cpp b/third_party/WebKit/Source/core/page/PageAnimator.cpp
index 1bd382d434bdcfaae9c8e13659ae44d0df4d7164..b483f8c817982b8828cb1a4197d29a715ebe3680 100644
--- a/third_party/WebKit/Source/core/page/PageAnimator.cpp
+++ b/third_party/WebKit/Source/core/page/PageAnimator.cpp
@@ -43,6 +43,8 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
}
for (auto& document : documents) {
+ ScopedFrameBlamer frameBlamer(document->frame());
+ TRACE_EVENT0("blink", "PageAnimator::serviceScriptedAnimations");
DocumentAnimations::updateAnimationTimingForAnimationFrame(*document);
if (document->view()) {
if (document->view()->shouldThrottleRendering())

Powered by Google App Engine
This is Rietveld 408576698