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

Unified Diff: cc/test/fake_picture_layer_impl.cc

Issue 1180073015: cc: Remove LayerImpl::SetContentBounds() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm-setcontentbounds: . Created 5 years, 6 months 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/video_layer_impl_unittest.cc ('k') | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_impl.cc
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index 11d13204682f819cc8324d2dacfc8772ebe9ed19..93cfbc232700d0ffd6d4de90521292184565f96c 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -25,7 +25,6 @@ FakePictureLayerImpl::FakePictureLayerImpl(
use_set_valid_tile_priorities_flag_(false),
release_resources_count_(0) {
SetBounds(raster_source->GetSize());
- SetContentBounds(raster_source->GetSize());
SetRasterSourceOnPending(raster_source, Region());
}
@@ -45,7 +44,6 @@ FakePictureLayerImpl::FakePictureLayerImpl(
use_set_valid_tile_priorities_flag_(false),
release_resources_count_(0) {
SetBounds(layer_bounds);
- SetContentBounds(layer_bounds);
SetRasterSourceOnPending(raster_source, Region());
}
« no previous file with comments | « cc/layers/video_layer_impl_unittest.cc ('k') | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698