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

Unified Diff: cc/CCHeadsUpDisplayLayerImpl.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/CCDelegatedRendererLayerImplTest.cpp ('k') | cc/CCIOSurfaceLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCHeadsUpDisplayLayerImpl.h
diff --git a/cc/CCHeadsUpDisplayLayerImpl.h b/cc/CCHeadsUpDisplayLayerImpl.h
index 234149d9393310b1159ff0f009e807d711c523b1..47e7cfe73e4252314394e1eed42dfdc6fbcc275f 100644
--- a/cc/CCHeadsUpDisplayLayerImpl.h
+++ b/cc/CCHeadsUpDisplayLayerImpl.h
@@ -20,9 +20,9 @@ class CCFrameRateCounter;
class CCHeadsUpDisplayLayerImpl : public CCLayerImpl {
public:
- static PassOwnPtr<CCHeadsUpDisplayLayerImpl> create(int id)
+ static scoped_ptr<CCHeadsUpDisplayLayerImpl> create(int id)
{
- return adoptPtr(new CCHeadsUpDisplayLayerImpl(id));
+ return make_scoped_ptr(new CCHeadsUpDisplayLayerImpl(id));
}
virtual ~CCHeadsUpDisplayLayerImpl();
« no previous file with comments | « cc/CCDelegatedRendererLayerImplTest.cpp ('k') | cc/CCIOSurfaceLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698