Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 8ec58d08914a74881c9cdea69332274fb6a15fda..fb496971fa1c99eac72bd780ef6560aa584d7653 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -1040,6 +1040,8 @@ void FrameView::repaintTree(RenderObject* root) |
// we continue to track repaint rects until this function is called. |
ASSERT(!m_nestedLayoutCount); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("blink.invalidation"), "FrameView::repaintTree"); |
+ |
// FIXME: really, we're in the repaint phase here, and the compositing queries are legal. |
// Until those states are fully fledged, I'll just disable the ASSERTS. |
DisableCompositingQueryAsserts disabler; |
@@ -3095,6 +3097,9 @@ void FrameView::setTracksRepaints(bool trackRepaints) |
renderView->compositor()->setTracksRepaints(trackRepaints); |
} |
+ TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("blink.invalidation"), |
+ "FrameView::setTracksRepaints", "enabled", trackRepaints); |
+ |
resetTrackedRepaints(); |
m_isTrackingRepaints = trackRepaints; |
} |