Index: cc/CCVideoLayerImpl.h |
diff --git a/cc/CCVideoLayerImpl.h b/cc/CCVideoLayerImpl.h |
index 814513ecb4e8d489197e1cedf4ba35c684aefd03..b254e8c50b0d3b59241c6a09cbe9158e1868f166 100644 |
--- a/cc/CCVideoLayerImpl.h |
+++ b/cc/CCVideoLayerImpl.h |
@@ -23,9 +23,9 @@ class CCVideoLayerImpl; |
class CCVideoLayerImpl : public CCLayerImpl |
, public WebKit::WebVideoFrameProvider::Client { |
public: |
- static PassOwnPtr<CCVideoLayerImpl> create(int id, WebKit::WebVideoFrameProvider* provider) |
+ static scoped_ptr<CCVideoLayerImpl> create(int id, WebKit::WebVideoFrameProvider* provider) |
{ |
- return adoptPtr(new CCVideoLayerImpl(id, provider)); |
+ return make_scoped_ptr(new CCVideoLayerImpl(id, provider)); |
} |
virtual ~CCVideoLayerImpl(); |