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

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: 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: 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 49a4b83ec0135eba3e2143cf6a5cd941c6a9eb7d..c683d96f68f3de6b4f95e06b36f9df5c482f2553 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 getCompositingReasons() const { return m_compositingReasons; }
void setCompositingReasons(CompositingReasons reasons) { m_compositingReasons = reasons; }

Powered by Google App Engine
This is Rietveld 408576698