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) |