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

Unified Diff: cc/CCSolidColorLayerImpl.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/CCScrollbarLayerImpl.cpp ('k') | cc/CCSolidColorLayerImplTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSolidColorLayerImpl.h
diff --git a/cc/CCSolidColorLayerImpl.h b/cc/CCSolidColorLayerImpl.h
index f170714a2d3743aa235c47fda77dfb81d8e86534..72beb25505a6fddfd0949a17153a3bb81c46e824 100644
--- a/cc/CCSolidColorLayerImpl.h
+++ b/cc/CCSolidColorLayerImpl.h
@@ -12,9 +12,9 @@ namespace cc {
class CCSolidColorLayerImpl : public CCLayerImpl {
public:
- static PassOwnPtr<CCSolidColorLayerImpl> create(int id)
+ static scoped_ptr<CCSolidColorLayerImpl> create(int id)
{
- return adoptPtr(new CCSolidColorLayerImpl(id));
+ return make_scoped_ptr(new CCSolidColorLayerImpl(id));
}
virtual ~CCSolidColorLayerImpl();
« no previous file with comments | « cc/CCScrollbarLayerImpl.cpp ('k') | cc/CCSolidColorLayerImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698