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

Unified Diff: cc/CCIOSurfaceDrawQuad.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/CCHeadsUpDisplayLayerImpl.cpp ('k') | cc/CCIOSurfaceDrawQuad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCIOSurfaceDrawQuad.h
diff --git a/cc/CCIOSurfaceDrawQuad.h b/cc/CCIOSurfaceDrawQuad.h
index 5a725e2fa974d38a236dca215376b5b169d78ab0..bb5b028291394adc2d4948f69de4466d2d2e56a2 100644
--- a/cc/CCIOSurfaceDrawQuad.h
+++ b/cc/CCIOSurfaceDrawQuad.h
@@ -7,7 +7,7 @@
#include "CCDrawQuad.h"
#include "IntSize.h"
-#include <wtf/PassOwnPtr.h>
+#include "base/memory/scoped_ptr.h"
namespace cc {
@@ -20,7 +20,7 @@ public:
Unflipped
};
- static PassOwnPtr<CCIOSurfaceDrawQuad> create(const CCSharedQuadState*, const IntRect&, const IntSize& ioSurfaceSize, unsigned ioSurfaceTextureId, Orientation);
+ static scoped_ptr<CCIOSurfaceDrawQuad> create(const CCSharedQuadState*, const IntRect&, const IntSize& ioSurfaceSize, unsigned ioSurfaceTextureId, Orientation);
IntSize ioSurfaceSize() const { return m_ioSurfaceSize; }
unsigned ioSurfaceTextureId() const { return m_ioSurfaceTextureId; }
« no previous file with comments | « cc/CCHeadsUpDisplayLayerImpl.cpp ('k') | cc/CCIOSurfaceDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698