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

Unified Diff: cc/CCTextureLayerImpl.h

Issue 11076013: [cc] Store CCLayerImpls as scoped_ptrs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments 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/CCSolidColorLayerImplTest.cpp ('k') | cc/CCTiledLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCTextureLayerImpl.h
diff --git a/cc/CCTextureLayerImpl.h b/cc/CCTextureLayerImpl.h
index fcb1470fa981d2d699c42c6d1969e02fe5895116..ff88ff36db2b8a8e2e9f9229b7205f08aac586a6 100644
--- a/cc/CCTextureLayerImpl.h
+++ b/cc/CCTextureLayerImpl.h
@@ -11,9 +11,9 @@ namespace cc {
class CCTextureLayerImpl : public CCLayerImpl {
public:
- static PassOwnPtr<CCTextureLayerImpl> create(int id)
+ static scoped_ptr<CCTextureLayerImpl> create(int id)
{
- return adoptPtr(new CCTextureLayerImpl(id));
+ return make_scoped_ptr(new CCTextureLayerImpl(id));
}
virtual ~CCTextureLayerImpl();
« no previous file with comments | « cc/CCSolidColorLayerImplTest.cpp ('k') | cc/CCTiledLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698