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

Unified Diff: cc/layers/layer_client.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_client.h
diff --git a/cc/layers/layer_client.h b/cc/layers/layer_client.h
index 524399d0d84e5e72379b80338c87dbc1213e4c16..fa33f92b13247b22b2deb1f52156bd077d1a878d 100644
--- a/cc/layers/layer_client.h
+++ b/cc/layers/layer_client.h
@@ -5,7 +5,7 @@
#ifndef CC_LAYERS_LAYER_CLIENT_H_
#define CC_LAYERS_LAYER_CLIENT_H_
-#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
namespace base {
@@ -27,8 +27,8 @@ class CC_EXPORT LayerClient {
//
// A pointer to the layer is provided for the convenience of layer clients
// which service multiple layers.
- virtual scoped_refptr<base::trace_event::ConvertableToTraceFormat>
- TakeDebugInfo(Layer* layer) = 0;
+ virtual scoped_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(
+ Layer* layer) = 0;
protected:
virtual ~LayerClient() {}
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.h » ('j') | cc/layers/layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698