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

Unified Diff: cc/CCScrollbarLayerImpl.cpp

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.h ('k') | cc/CCSolidColorLayerImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCScrollbarLayerImpl.cpp
diff --git a/cc/CCScrollbarLayerImpl.cpp b/cc/CCScrollbarLayerImpl.cpp
index 42aac84e37d3eaea2be02055f8c3bf0ca39489fc..8a832e7099f97f93f063db363803cd1908360b59 100644
--- a/cc/CCScrollbarLayerImpl.cpp
+++ b/cc/CCScrollbarLayerImpl.cpp
@@ -17,9 +17,9 @@ using WebKit::WebScrollbar;
namespace cc {
-PassOwnPtr<CCScrollbarLayerImpl> CCScrollbarLayerImpl::create(int id)
+scoped_ptr<CCScrollbarLayerImpl> CCScrollbarLayerImpl::create(int id)
{
- return adoptPtr(new CCScrollbarLayerImpl(id));
+ return make_scoped_ptr(new CCScrollbarLayerImpl(id));
}
CCScrollbarLayerImpl::CCScrollbarLayerImpl(int id)
« no previous file with comments | « cc/CCScrollbarLayerImpl.h ('k') | cc/CCSolidColorLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698