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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 794238c0cf2dec2a4d767c35f840ca2f49248913..89523d718b820e3ace67e5e59b41fb2f1341b586 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2593,6 +2593,9 @@ void FrameView::updateStyleAndLayoutIfNeededRecursiveInternal()
if (shouldThrottleRendering())
return;
+ ScopedFrameBlamer frameBlamer(m_frame.get());
+ TRACE_EVENT0("blink", "FrameView::updateStyleAndLayoutIfNeededRecursive");
+
// We have to crawl our entire subtree looking for any FrameViews that need
// layout and make sure they are up to date.
// Mac actually tests for intersection with the dirty region and tries not to

Powered by Google App Engine
This is Rietveld 408576698