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

Unified Diff: cc/picture_layer_impl.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_impl.h ('k') | cc/prioritized_resource_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_impl.cc
diff --git a/cc/picture_layer_impl.cc b/cc/picture_layer_impl.cc
index 4959d4213ea0bedc1b38759125bc2ee69f428bad..14b9404ac5703918829599eda965fe9e5d2e3f49 100644
--- a/cc/picture_layer_impl.cc
+++ b/cc/picture_layer_impl.cc
@@ -18,11 +18,11 @@
namespace cc {
-PictureLayerImpl::PictureLayerImpl(int id) :
- LayerImpl(id),
- tilings_(this),
- pile_(PicturePileImpl::Create()),
- last_update_time_(0) {
+PictureLayerImpl::PictureLayerImpl(LayerTreeHostImpl* host, int id)
+ : LayerImpl(host, id),
+ tilings_(this),
+ pile_(PicturePileImpl::Create()),
+ last_update_time_(0) {
}
PictureLayerImpl::~PictureLayerImpl() {
« no previous file with comments | « cc/picture_layer_impl.h ('k') | cc/prioritized_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698