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

Unified Diff: cc/ScrollbarLayerChromium.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/ScrollbarLayerChromium.h ('k') | cc/ScrollbarLayerChromiumTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ScrollbarLayerChromium.cpp
diff --git a/cc/ScrollbarLayerChromium.cpp b/cc/ScrollbarLayerChromium.cpp
index 745fd34c63ea18d6da831f3881eb71d1b0f7efa0..4259b7bb2cddb0aaeb0ed8a5ba33f05f2a9d8862 100644
--- a/cc/ScrollbarLayerChromium.cpp
+++ b/cc/ScrollbarLayerChromium.cpp
@@ -20,9 +20,9 @@ using WebKit::WebRect;
namespace cc {
-PassOwnPtr<CCLayerImpl> ScrollbarLayerChromium::createCCLayerImpl()
+scoped_ptr<CCLayerImpl> ScrollbarLayerChromium::createCCLayerImpl()
{
- return CCScrollbarLayerImpl::create(id());
+ return CCScrollbarLayerImpl::create(id()).PassAs<CCLayerImpl>();
}
scoped_refptr<ScrollbarLayerChromium> ScrollbarLayerChromium::create(PassOwnPtr<WebKit::WebScrollbar> scrollbar, WebKit::WebScrollbarThemePainter painter, PassOwnPtr<WebKit::WebScrollbarThemeGeometry> geometry, int scrollLayerId)
« no previous file with comments | « cc/ScrollbarLayerChromium.h ('k') | cc/ScrollbarLayerChromiumTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698