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

Unified Diff: cc/tiled_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/tiled_layer.h ('k') | cc/tiled_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer.cc
diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc
index 77a32e6b1e0f0611e9603ac256fa8d5acaf19c1b..cbb89bf5feb986f6cfc977e14eaa99dc7eafd7f3 100644
--- a/cc/tiled_layer.cc
+++ b/cc/tiled_layer.cc
@@ -95,9 +95,9 @@ TiledLayer::~TiledLayer()
{
}
-scoped_ptr<LayerImpl> TiledLayer::createLayerImpl()
+scoped_ptr<LayerImpl> TiledLayer::createLayerImpl(LayerTreeHostImpl* hostImpl)
{
- return TiledLayerImpl::create(id()).PassAs<LayerImpl>();
+ return TiledLayerImpl::create(hostImpl, id()).PassAs<LayerImpl>();
}
void TiledLayer::updateTileSizeAndTilingOption()
« no previous file with comments | « cc/tiled_layer.h ('k') | cc/tiled_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698