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

Unified Diff: cc/layers/picture_image_layer_impl_unittest.cc

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/layers/layer_unittest.cc ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_image_layer_impl_unittest.cc
diff --git a/cc/layers/picture_image_layer_impl_unittest.cc b/cc/layers/picture_image_layer_impl_unittest.cc
index fcaacc77cf859bad1d2cea9cbb60fe85c54a8f91..1c766babcf851229e86a68e6efb02f9761a2729f 100644
--- a/cc/layers/picture_image_layer_impl_unittest.cc
+++ b/cc/layers/picture_image_layer_impl_unittest.cc
@@ -60,9 +60,9 @@ class PictureImageLayerImplTest : public testing::Test {
}
TestablePictureImageLayerImpl* layer =
new TestablePictureImageLayerImpl(tree, id);
- layer->pile_ = FakePicturePileImpl::CreateInfiniteFilledPile();
- layer->SetBounds(layer->pile_->tiling_size());
- layer->SetContentBounds(layer->pile_->tiling_size());
+ layer->raster_source_ = FakePicturePileImpl::CreateInfiniteFilledPile();
+ layer->SetBounds(layer->raster_source_->GetSize());
+ layer->SetContentBounds(layer->raster_source_->GetSize());
return make_scoped_ptr(layer);
}
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/layers/picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698