summaryrefslogtreecommitdiffstats
path: root/cc/test/tiled_layer_test_common.cc
diff options
context:
space:
mode:
authorajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-08 01:36:20 +0000
committerajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-08 02:01:48 +0000
commit35322353e793817b4d2747e840640183cebea45f (patch)
tree6e9bb0f16af3d4e154f2151604ed6018c8118b81 /cc/test/tiled_layer_test_common.cc
parent458dd03a5ac1e4923323116bcb3082caadeead56 (diff)
downloadchromium_src-35322353e793817b4d2747e840640183cebea45f.zip
chromium_src-35322353e793817b4d2747e840640183cebea45f.tar.gz
chromium_src-35322353e793817b4d2747e840640183cebea45f.tar.bz2
cc: Remove unused arguments from CalculateContentsScale
Layer::CalculateContentsScale and its overrides never use device_scale_factor, page_scale_factor, maximum_animation_contents_scale, or animating_transform_to_screen. This CL removes these arguments. BUG=None Review URL: https://codereview.chromium.org/453533002 Cr-Commit-Position: refs/heads/master@{#288197} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288197 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/tiled_layer_test_common.cc')
-rw-r--r--cc/test/tiled_layer_test_common.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc
index cd4f9bd..81975ca 100644
--- a/cc/test/tiled_layer_test_common.cc
+++ b/cc/test/tiled_layer_test_common.cc
@@ -114,10 +114,6 @@ PrioritizedResourceManager* FakeTiledLayer::ResourceManager() {
void FakeTiledLayer::UpdateContentsScale(float ideal_contents_scale) {
CalculateContentsScale(ideal_contents_scale,
- 1.f,
- 1.f,
- 1.f,
- false, // animating_transform_to_screen
&draw_properties().contents_scale_x,
&draw_properties().contents_scale_y,
&draw_properties().content_bounds);
@@ -155,10 +151,6 @@ void FakeTiledLayerWithScaledBounds::SetContentBounds(
void FakeTiledLayerWithScaledBounds::CalculateContentsScale(
float ideal_contents_scale,
- float device_scale_factor,
- float page_scale_factor,
- float maximum_animation_contents_scale,
- bool animating_transform_to_screen,
float* contents_scale_x,
float* contents_scale_y,
gfx::Size* content_bounds) {