From 8aff93381cafd5fb209e13be6dafcf2617c226b8 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Wed, 26 Sep 2012 23:37:40 +0000 Subject: cc: Remove OwnPtr usage from CCRenderPass and CCDrawQuad class hierarchy. Replaces OwnPtr with scoped_ptr throughout. Covered by existing tests R=jamesr,enne BUG=152049 Review URL: https://codereview.chromium.org/10989024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158929 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/CCIOSurfaceDrawQuad.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/CCIOSurfaceDrawQuad.h') diff --git a/cc/CCIOSurfaceDrawQuad.h b/cc/CCIOSurfaceDrawQuad.h index 5a725e2..bb5b028 100644 --- a/cc/CCIOSurfaceDrawQuad.h +++ b/cc/CCIOSurfaceDrawQuad.h @@ -7,7 +7,7 @@ #include "CCDrawQuad.h" #include "IntSize.h" -#include +#include "base/memory/scoped_ptr.h" namespace cc { @@ -20,7 +20,7 @@ public: Unflipped }; - static PassOwnPtr create(const CCSharedQuadState*, const IntRect&, const IntSize& ioSurfaceSize, unsigned ioSurfaceTextureId, Orientation); + static scoped_ptr create(const CCSharedQuadState*, const IntRect&, const IntSize& ioSurfaceSize, unsigned ioSurfaceTextureId, Orientation); IntSize ioSurfaceSize() const { return m_ioSurfaceSize; } unsigned ioSurfaceTextureId() const { return m_ioSurfaceTextureId; } -- cgit v1.1