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

Unified Diff: cc/IOSurfaceLayerChromium.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/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
diff --git a/cc/IOSurfaceLayerChromium.cpp b/cc/IOSurfaceLayerChromium.cpp
index 7b242fd7130f53713a555de6c3ac79a99f1b00de..fe6d39a38da86b23180490756794cd1406069d8d 100644
--- a/cc/IOSurfaceLayerChromium.cpp
+++ b/cc/IOSurfaceLayerChromium.cpp
@@ -34,9 +34,9 @@ void IOSurfaceLayerChromium::setIOSurfaceProperties(uint32_t ioSurfaceId, const
setNeedsCommit();
}
-PassOwnPtr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl()
+scoped_ptr<CCLayerImpl> IOSurfaceLayerChromium::createCCLayerImpl()
{
- return CCIOSurfaceLayerImpl::create(m_layerId);
+ return CCIOSurfaceLayerImpl::create(m_layerId).PassAs<CCLayerImpl>();
}
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