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

Unified Diff: cc/TextureLayerChromium.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/TextureLayerChromium.h ('k') | cc/TiledLayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/TextureLayerChromium.cpp
diff --git a/cc/TextureLayerChromium.cpp b/cc/TextureLayerChromium.cpp
index 6435f818cc3215d3f4c72545fd0ca11d87dc2a9b..89ac0e7e5035b92bfbaa8d550548980de896890c 100644
--- a/cc/TextureLayerChromium.cpp
+++ b/cc/TextureLayerChromium.cpp
@@ -42,9 +42,9 @@ TextureLayerChromium::~TextureLayerChromium()
}
}
-PassOwnPtr<CCLayerImpl> TextureLayerChromium::createCCLayerImpl()
+scoped_ptr<CCLayerImpl> TextureLayerChromium::createCCLayerImpl()
{
- return CCTextureLayerImpl::create(m_layerId);
+ return CCTextureLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
}
void TextureLayerChromium::setFlipped(bool flipped)
« no previous file with comments | « cc/TextureLayerChromium.h ('k') | cc/TiledLayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698