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

Unified Diff: cc/CCVideoLayerImpl.h

Issue 11099040: [cc] Store CCLayerImpls as scoped_ptrs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cc unit tests Created 8 years, 2 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/CCTiledLayerImplTest.cpp ('k') | cc/DelegatedRendererLayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « cc/CCTiledLayerImplTest.cpp ('k') | cc/DelegatedRendererLayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698