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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h

Issue 1717283003: tracing: Make ConvertableToTraceFormat move-only scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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: third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h
index fd79f680f3dc1f635a53c5f0c2ee2a864ef937ac..c338e03454cb1b69dd73fe860de416a2fe33c4cc 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.h
@@ -31,7 +31,7 @@
#ifndef GraphicsLayerDebugInfo_h
#define GraphicsLayerDebugInfo_h
-#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/CompositingReasons.h"
#include "platform/graphics/PaintInvalidationReason.h"
@@ -55,7 +55,7 @@ public:
GraphicsLayerDebugInfo();
~GraphicsLayerDebugInfo();
- scoped_refptr<base::trace_event::TracedValue> asTracedValue() const;
+ scoped_ptr<base::trace_event::TracedValue> asTracedValue() const;
CompositingReasons compositingReasons() const { return m_compositingReasons; }
void setCompositingReasons(CompositingReasons reasons) { m_compositingReasons = reasons; }

Powered by Google App Engine
This is Rietveld 408576698