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

Unified Diff: cc/video_layer.cc

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/video_layer.cc
diff --git a/cc/video_layer.cc b/cc/video_layer.cc
index e8a9fad462be13c461fcbcf2add679bbddc60831..05f2c16f7191379dea173cf5a00a0fc6db506b2e 100644
--- a/cc/video_layer.cc
+++ b/cc/video_layer.cc
@@ -27,9 +27,9 @@ VideoLayer::~VideoLayer()
{
}
-scoped_ptr<LayerImpl> VideoLayer::createLayerImpl()
+scoped_ptr<LayerImpl> VideoLayer::createLayerImpl(LayerTreeHostImpl* hostImpl)
{
- return VideoLayerImpl::create(m_layerId, m_provider, m_unwrapper).PassAs<LayerImpl>();
+ return VideoLayerImpl::create(hostImpl, m_layerId, m_provider, m_unwrapper).PassAs<LayerImpl>();
}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698