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

Unified Diff: cc/layer.cc

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « cc/layer.h ('k') | cc/layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer.cc
diff --git a/cc/layer.cc b/cc/layer.cc
index 42247fdffe688fc2e421f5892657bede72802303..d0b3808a2899d201109741885f63c1445a5e70a2 100644
--- a/cc/layer.cc
+++ b/cc/layer.cc
@@ -616,9 +616,9 @@ void Layer::pushPropertiesTo(LayerImpl* layer)
m_updateRect = gfx::RectF();
}
-scoped_ptr<LayerImpl> Layer::createLayerImpl()
+scoped_ptr<LayerImpl> Layer::createLayerImpl(LayerTreeHostImpl* hostImpl)
{
- return LayerImpl::create(m_layerId);
+ return LayerImpl::create(hostImpl, m_layerId);
}
bool Layer::drawsContent() const
« no previous file with comments | « cc/layer.h ('k') | cc/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698