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

Unified Diff: cc/VideoLayerChromium.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/VideoLayerChromium.h ('k') | webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/VideoLayerChromium.h ('k') | webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698