| Index: cc/test/layer_tree_host_common_test.cc
|
| diff --git a/cc/test/layer_tree_host_common_test.cc b/cc/test/layer_tree_host_common_test.cc
|
| index 1eed9ba60ea1f96cb791f9f6a2d339c489919c69..498cec1f798aef1af9435812ee6ed2af1003b096 100644
|
| --- a/cc/test/layer_tree_host_common_test.cc
|
| +++ b/cc/test/layer_tree_host_common_test.cc
|
| @@ -18,54 +18,7 @@ LayerTreeHostCommonTestBase::LayerTreeHostCommonTestBase(
|
| const LayerTreeSettings& settings)
|
| : LayerTestCommon::LayerImplTest(settings) {}
|
|
|
| -LayerTreeHostCommonTestBase::~LayerTreeHostCommonTestBase() {
|
| -}
|
| -
|
| -void LayerTreeHostCommonTestBase::SetLayerPropertiesForTesting(
|
| - Layer* layer,
|
| - const gfx::Transform& transform,
|
| - const gfx::Point3F& transform_origin,
|
| - const gfx::PointF& position,
|
| - const gfx::Size& bounds,
|
| - bool flatten_transform,
|
| - bool is_3d_sorted) {
|
| - SetLayerPropertiesForTestingInternal(layer, transform, position, bounds,
|
| - is_3d_sorted);
|
| - layer->SetTransformOrigin(transform_origin);
|
| - layer->SetShouldFlattenTransform(flatten_transform);
|
| -}
|
| -
|
| -void LayerTreeHostCommonTestBase::SetLayerPropertiesForTesting(
|
| - LayerImpl* layer,
|
| - const gfx::Transform& transform,
|
| - const gfx::Point3F& transform_origin,
|
| - const gfx::PointF& position,
|
| - const gfx::Size& bounds,
|
| - bool flatten_transform,
|
| - bool is_3d_sorted) {
|
| - SetLayerPropertiesForTestingInternal(layer, transform, position, bounds,
|
| - is_3d_sorted);
|
| - layer->test_properties()->transform_origin = transform_origin;
|
| - layer->test_properties()->should_flatten_transform = flatten_transform;
|
| -}
|
| -
|
| -void LayerTreeHostCommonTestBase::SetLayerPropertiesForTesting(
|
| - LayerImpl* layer,
|
| - const gfx::Transform& transform,
|
| - const gfx::Point3F& transform_origin,
|
| - const gfx::PointF& position,
|
| - const gfx::Size& bounds,
|
| - bool flatten_transform,
|
| - bool is_3d_sorted,
|
| - bool create_render_surface) {
|
| - SetLayerPropertiesForTestingInternal(layer, transform, position, bounds,
|
| - is_3d_sorted);
|
| - layer->test_properties()->transform_origin = transform_origin;
|
| - layer->test_properties()->should_flatten_transform = flatten_transform;
|
| - if (create_render_surface) {
|
| - layer->test_properties()->force_render_surface = true;
|
| - }
|
| -}
|
| +LayerTreeHostCommonTestBase::~LayerTreeHostCommonTestBase() = default;
|
|
|
| void LayerTreeHostCommonTestBase::ExecuteCalculateDrawProperties(
|
| Layer* root_layer,
|
|
|