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

Unified Diff: components/exo/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/surface.h
diff --git a/components/exo/surface.h b/components/exo/surface.h
index ce6ba46256655da0ca279bc8d1551d86bf143b81..846d12be7754858e8b650ed275f7ee1b31835990 100644
--- a/components/exo/surface.h
+++ b/components/exo/surface.h
@@ -123,7 +123,7 @@ class Surface : public aura::Window,
bool HasSurfaceObserver(const SurfaceObserver* observer) const;
// 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;
bool HasPendingDamageForTesting(const gfx::Rect& damage) const {
return pending_damage_.contains(gfx::RectToSkIRect(damage));

Powered by Google App Engine
This is Rietveld 408576698