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

Unified Diff: cc/IOSurfaceLayerChromium.cpp

Issue 11083003: Revert 160631 - [cc] Store CCLayerImpls as scoped_ptrs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/IOSurfaceLayerChromium.h ('k') | cc/LayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/IOSurfaceLayerChromium.cpp
===================================================================
--- cc/IOSurfaceLayerChromium.cpp (revision 160631)
+++ cc/IOSurfaceLayerChromium.cpp (working copy)
@@ -34,9 +34,9 @@
setNeedsCommit();
}
-scoped_ptr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl()
+PassOwnPtr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl()
{
- return CCIOSurfaceLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
+ return CCIOSurfaceLayerImpl::create(m_layerId);
}
bool IOSurfaceLayerChromium::drawsContent() const
« no previous file with comments | « cc/IOSurfaceLayerChromium.h ('k') | cc/LayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698