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

Unified Diff: cc/picture_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/picture_layer.h ('k') | cc/picture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer.cc
diff --git a/cc/picture_layer.cc b/cc/picture_layer.cc
index ba95603843db34fa62ce65be3e78c88400f49923..c90d511df166946b6295ccb18d1869b2518be11f 100644
--- a/cc/picture_layer.cc
+++ b/cc/picture_layer.cc
@@ -23,8 +23,8 @@ bool PictureLayer::drawsContent() const {
return Layer::drawsContent() && client_;
}
-scoped_ptr<LayerImpl> PictureLayer::createLayerImpl() {
- return PictureLayerImpl::create(id()).PassAs<LayerImpl>();
+scoped_ptr<LayerImpl> PictureLayer::createLayerImpl(LayerTreeHostImpl* host) {
+ return PictureLayerImpl::create(host, id()).PassAs<LayerImpl>();
}
void PictureLayer::pushPropertiesTo(LayerImpl* base_layer) {
« no previous file with comments | « cc/picture_layer.h ('k') | cc/picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698