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

Unified Diff: cc/TiledLayerChromium.cpp

Issue 11076013: [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
Index: cc/TiledLayerChromium.cpp
diff --git a/cc/TiledLayerChromium.cpp b/cc/TiledLayerChromium.cpp
index 3b72f19b7f70ce5f8ebedd71c4adc910fcfa0dc8..f2219e624fe7189ded6505c913ae683e0efbe19f 100644
--- a/cc/TiledLayerChromium.cpp
+++ b/cc/TiledLayerChromium.cpp
@@ -94,9 +94,9 @@ TiledLayerChromium::~TiledLayerChromium()
{
}
-PassOwnPtr<CCLayerImpl> TiledLayerChromium::createCCLayerImpl()
+scoped_ptr<CCLayerImpl> TiledLayerChromium::createCCLayerImpl()
{
- return CCTiledLayerImpl::create(id());
+ return CCTiledLayerImpl::create(id()).PassAs<CCLayerImpl>();
}
void TiledLayerChromium::updateTileSizeAndTilingOption()

Powered by Google App Engine
This is Rietveld 408576698