Index: cc/output/bsp_tree_perftest.cc |
diff --git a/cc/output/bsp_tree_perftest.cc b/cc/output/bsp_tree_perftest.cc |
index 3c950600d3b4259188ce631a32e6a337584d55e4..36c00a49cb7a93fecb0ef9a23db868f91e3a3179 100644 |
--- a/cc/output/bsp_tree_perftest.cc |
+++ b/cc/output/bsp_tree_perftest.cc |
@@ -71,10 +71,8 @@ class BspTreePerfTest : public LayerTreeTest { |
LayerTreeImpl* active_tree = host_impl->active_tree(); |
// First build the tree and then we'll start running tests on layersorter |
// itself |
- bool can_render_to_separate_surface = true; |
int max_texture_size = 8096; |
- DoCalcDrawPropertiesImpl(can_render_to_separate_surface, max_texture_size, |
- active_tree, host_impl); |
+ DoCalcDrawPropertiesImpl(max_texture_size, active_tree, host_impl); |
LayerImplList base_list; |
BuildLayerImplList(active_tree->root_layer_for_testing(), &base_list); |
@@ -104,8 +102,7 @@ class BspTreePerfTest : public LayerTreeTest { |
EndTest(); |
} |
- void DoCalcDrawPropertiesImpl(bool can_render_to_separate_surface, |
- int max_texture_size, |
+ void DoCalcDrawPropertiesImpl(int max_texture_size, |
LayerTreeImpl* active_tree, |
LayerTreeHostImpl* host_impl) { |
RenderSurfaceList update_list; |
@@ -118,7 +115,6 @@ class BspTreePerfTest : public LayerTreeTest { |
active_tree->OuterViewportScrollLayer(), |
active_tree->elastic_overscroll()->Current(active_tree->IsActiveTree()), |
active_tree->OverscrollElasticityLayer(), max_texture_size, |
- can_render_to_separate_surface, |
host_impl->settings().layer_transforms_should_scale_layer_contents, |
&update_list, active_tree->property_trees()); |
LayerTreeHostCommon::CalculateDrawProperties(&inputs); |