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

Unified Diff: cc/layers/layer_impl.h

Issue 15774010: Add TRACE_EVENT_IS_NEW_TRACE as a way to snapshot objects at start of recording (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address enne feedback Created 7 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: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index fbe0963042b2c8030d94e1b182c237fd6259007c..e6abbbdce1a72fe4aacea4de8dcb79b5229e34ee 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -384,6 +384,8 @@ class CC_EXPORT LayerImpl : LayerAnimationValueObserver {
virtual void DidBecomeActive();
+ virtual void DidBeginTracing();
+
// Indicates that the surface previously used to render this layer
// was lost and that a new one has been created. Won't be called
// until the new surface has been created successfully.

Powered by Google App Engine
This is Rietveld 408576698