summaryrefslogtreecommitdiffstats
path: root/cc/CCIOSurfaceDrawQuad.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-26 23:37:40 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-26 23:37:40 +0000
commit8aff93381cafd5fb209e13be6dafcf2617c226b8 (patch)
tree355fce9cac28cadd8acfb35ad51f809d2e5b3e3f /cc/CCIOSurfaceDrawQuad.h
parentb5fd05d58de63636fb77013e58cc2051ea213407 (diff)
downloadchromium_src-8aff93381cafd5fb209e13be6dafcf2617c226b8.zip
chromium_src-8aff93381cafd5fb209e13be6dafcf2617c226b8.tar.gz
chromium_src-8aff93381cafd5fb209e13be6dafcf2617c226b8.tar.bz2
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
Diffstat (limited to 'cc/CCIOSurfaceDrawQuad.h')
-rw-r--r--cc/CCIOSurfaceDrawQuad.h4
1 files changed, 2 insertions, 2 deletions
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 <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; }