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

Unified Diff: cc/CCSolidColorDrawQuad.h

Issue 10989024: cc: Remove OwnPtr usage from CCRenderPass and CCDrawQuad class hierarchy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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
« no previous file with comments | « cc/CCSharedQuadState.cpp ('k') | cc/CCSolidColorDrawQuad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSolidColorDrawQuad.h
diff --git a/cc/CCSolidColorDrawQuad.h b/cc/CCSolidColorDrawQuad.h
index 9b4a3a047847f8b5340133e20b54b36600306e30..6825612e491472f83634bc54f443dd3f0e1a771d 100644
--- a/cc/CCSolidColorDrawQuad.h
+++ b/cc/CCSolidColorDrawQuad.h
@@ -7,7 +7,7 @@
#include "CCDrawQuad.h"
#include "SkColor.h"
-#include <wtf/PassOwnPtr.h>
+#include "base/memory/scoped_ptr.h"
namespace cc {
@@ -15,7 +15,7 @@ namespace cc {
class CCSolidColorDrawQuad : public CCDrawQuad {
public:
- static PassOwnPtr<CCSolidColorDrawQuad> create(const CCSharedQuadState*, const IntRect&, SkColor);
+ static scoped_ptr<CCSolidColorDrawQuad> create(const CCSharedQuadState*, const IntRect&, SkColor);
SkColor color() const { return m_color; };
« no previous file with comments | « cc/CCSharedQuadState.cpp ('k') | cc/CCSolidColorDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698