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

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

Issue 315293003: Add tracing for RenderView::hitTest and FrameView::invalidateTree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Implement. Created 6 years, 6 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 | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 0a043b360750f4097852dc8cbf5a87af31cbe8e0..b3fb1799843a88d0e437f310fd8241c459d9d719 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -1036,6 +1036,8 @@ void FrameView::layout(bool allowSubtree)
// See http://crbug.com/306706
void FrameView::invalidateTree(RenderObject* root)
{
+ TRACE_EVENT0("blink", "FrameView::invalidateTree");
dsinclair 2014/06/06 01:59:03 This already exists on line 1047.
chrishtr 2014/06/06 02:08:03 Done.
ojan 2014/06/06 03:22:38 Why is the one on line 1047 disabled by default?
dsinclair 2014/06/06 03:29:27 The TRACE_STR_COPY has a cost which I didn't want
ojan 2014/06/06 05:53:11 Can we put in a trace (instead or in addition the
+
ASSERT(RuntimeEnabledFeatures::repaintAfterLayoutEnabled());
ASSERT(!root->needsLayout());
// We should only invalidate paints for the outer most layout. This works as
« no previous file with comments | « no previous file | Source/core/rendering/RenderView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698