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

Unified Diff: cc/LayerChromium.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/LayerChromium.h ('k') | cc/LayerChromiumTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerChromium.cpp
diff --git a/cc/LayerChromium.cpp b/cc/LayerChromium.cpp
index 55093d6180714f6704d767892faacaab6fec689a..a6f17eedcd65bfd4df53298d700dcd0c94a53c7c 100644
--- a/cc/LayerChromium.cpp
+++ b/cc/LayerChromium.cpp
@@ -595,7 +595,7 @@ void LayerChromium::pushPropertiesTo(CCLayerImpl* layer)
m_updateRect = FloatRect();
}
-PassOwnPtr<CCLayerImpl> LayerChromium::createCCLayerImpl()
+scoped_ptr<CCLayerImpl> LayerChromium::createCCLayerImpl()
{
return CCLayerImpl::create(m_layerId);
}
« no previous file with comments | « cc/LayerChromium.h ('k') | cc/LayerChromiumTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698