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

Unified Diff: cc/DelegatedRendererLayerChromium.cpp

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/DelegatedRendererLayerChromium.h ('k') | cc/HeadsUpDisplayLayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/DelegatedRendererLayerChromium.cpp
diff --git a/cc/DelegatedRendererLayerChromium.cpp b/cc/DelegatedRendererLayerChromium.cpp
index de34a003ba30cd5deaf3419fc2fc6d4d3c4b1687..721630dcc01e3f9982e2f41186a7444235c647be 100644
--- a/cc/DelegatedRendererLayerChromium.cpp
+++ b/cc/DelegatedRendererLayerChromium.cpp
@@ -25,9 +25,9 @@ DelegatedRendererLayerChromium::~DelegatedRendererLayerChromium()
{
}
-PassOwnPtr<CCLayerImpl> DelegatedRendererLayerChromium::createCCLayerImpl()
+scoped_ptr<CCLayerImpl> DelegatedRendererLayerChromium::createCCLayerImpl()
{
- return CCDelegatedRendererLayerImpl::create(m_layerId);
+ return CCDelegatedRendererLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
}
}
« no previous file with comments | « cc/DelegatedRendererLayerChromium.h ('k') | cc/HeadsUpDisplayLayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698