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

Unified Diff: cc/CCDebugBorderDrawQuad.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/CCCheckerboardDrawQuad.cpp ('k') | cc/CCDebugBorderDrawQuad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCDebugBorderDrawQuad.h
diff --git a/cc/CCDebugBorderDrawQuad.h b/cc/CCDebugBorderDrawQuad.h
index 3b3a1e2212d73bf94673d5f813a3a985e8f7e6ea..fbba1c6bebad180cf90475676210e6ffa360d824 100644
--- a/cc/CCDebugBorderDrawQuad.h
+++ b/cc/CCDebugBorderDrawQuad.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 CCDebugBorderDrawQuad : public CCDrawQuad {
public:
- static PassOwnPtr<CCDebugBorderDrawQuad> create(const CCSharedQuadState*, const IntRect&, SkColor, int width);
+ static scoped_ptr<CCDebugBorderDrawQuad> create(const CCSharedQuadState*, const IntRect&, SkColor, int width);
SkColor color() const { return m_color; };
int width() const { return m_width; }
« no previous file with comments | « cc/CCCheckerboardDrawQuad.cpp ('k') | cc/CCDebugBorderDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698