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

Unified Diff: cc/layers/layer_impl.h

Issue 1717283003: tracing: Make ConvertableToTraceFormat move-only scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 b5f2ee25183d93fee72f2c4b3e77dbaf73c61df4..255f609fefa8fb538c0062c28936297e1a334560 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -619,8 +619,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
virtual void RunMicroBenchmark(MicroBenchmarkImpl* benchmark);
- virtual void SetDebugInfo(
- scoped_refptr<base::trace_event::ConvertableToTraceFormat> other);
+ void SetDebugInfo(
+ scoped_ptr<base::trace_event::ConvertableToTraceFormat> debug_info);
bool IsDrawnRenderSurfaceLayerListMember() const;
@@ -861,7 +861,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
DrawProperties draw_properties_;
PerformanceProperties<LayerImpl> performance_properties_;
- scoped_refptr<base::trace_event::ConvertableToTraceFormat> debug_info_;
+ scoped_ptr<base::trace_event::ConvertableToTraceFormat> owned_debug_info_;
+ base::trace_event::ConvertableToTraceFormat* debug_info_;
scoped_ptr<RenderSurfaceImpl> render_surface_;
bool force_render_surface_;
« no previous file with comments | « cc/layers/layer_client.h ('k') | cc/layers/layer_impl.cc » ('j') | cc/layers/layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698