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

Unified Diff: components/exo/sub_surface.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: components/exo/sub_surface.h
diff --git a/components/exo/sub_surface.h b/components/exo/sub_surface.h
index a2503a6e03d646c7d358ffe935b9e17a517880b5..a42fcc4c1663f38f37a0c99c626703ba3fb5b74c 100644
--- a/components/exo/sub_surface.h
+++ b/components/exo/sub_surface.h
@@ -6,7 +6,7 @@
#define COMPONENTS_EXO_SUB_SURFACE_H_
#include "base/macros.h"
-#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "components/exo/surface_delegate.h"
#include "components/exo/surface_observer.h"
#include "ui/gfx/geometry/point.h"
@@ -45,7 +45,7 @@ class SubSurface : public SurfaceDelegate, public SurfaceObserver {
void SetCommitBehavior(bool synchronized);
// Returns a trace value representing the state of the surface.
- scoped_refptr<base::trace_event::TracedValue> AsTracedValue() const;
+ scoped_ptr<base::trace_event::TracedValue> AsTracedValue() const;
// Overridden from SurfaceDelegate:
void OnSurfaceCommit() override;

Powered by Google App Engine
This is Rietveld 408576698