Index: cc/VideoLayerChromium.cpp |
diff --git a/cc/VideoLayerChromium.cpp b/cc/VideoLayerChromium.cpp |
index 03ecbca12aea7a4ca1c4522d7fb22f9f36c2dd21..e210473b47d10a109b19f10b5cb597c31b7a58b0 100644 |
--- a/cc/VideoLayerChromium.cpp |
+++ b/cc/VideoLayerChromium.cpp |
@@ -27,9 +27,9 @@ VideoLayerChromium::~VideoLayerChromium() |
{ |
} |
-PassOwnPtr<CCLayerImpl> VideoLayerChromium::createCCLayerImpl() |
+scoped_ptr<CCLayerImpl> VideoLayerChromium::createCCLayerImpl() |
{ |
- return CCVideoLayerImpl::create(m_layerId, m_provider); |
+ return CCVideoLayerImpl::create(m_layerId, m_provider).PassAs<CCLayerImpl>(); |
} |
} // namespace cc |