Index: cc/TextureLayerChromium.cpp |
diff --git a/cc/TextureLayerChromium.cpp b/cc/TextureLayerChromium.cpp |
index cb03343583c5eb36d26ae5ad65c4ca6743fcea11..e1b485190011f28d5860f45681a299133704bd5d 100644 |
--- a/cc/TextureLayerChromium.cpp |
+++ b/cc/TextureLayerChromium.cpp |
@@ -43,9 +43,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) |