From 35322353e793817b4d2747e840640183cebea45f Mon Sep 17 00:00:00 2001 From: "ajuma@chromium.org" Date: Fri, 8 Aug 2014 01:36:20 +0000 Subject: 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 --- cc/test/tiled_layer_test_common.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cc/test/tiled_layer_test_common.cc') 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) { -- cgit v1.1