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

Unified Diff: cc/test/layer_tree_host_common_test.h

Issue 2179263002: cc: Remove SetLayerPropertiesForTesting from LayerTreeHostCommonTestBase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lthcommontest-harness
Patch Set: lthcommontest-harness2: rebase Created 4 years, 5 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 | « no previous file | 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/layer_tree_host_common_test.h
diff --git a/cc/test/layer_tree_host_common_test.h b/cc/test/layer_tree_host_common_test.h
index 3b99fd6058ada657448d278b9b31a09e5f32820e..37eafc2ff5ee20a5b083e5696abe0c31ce7fefae 100644
--- a/cc/test/layer_tree_host_common_test.h
+++ b/cc/test/layer_tree_host_common_test.h
@@ -33,44 +33,6 @@ class LayerTreeHostCommonTestBase : public LayerTestCommon::LayerImplTest {
explicit LayerTreeHostCommonTestBase(const LayerTreeSettings& settings);
virtual ~LayerTreeHostCommonTestBase();
- template <typename LayerType>
- void SetLayerPropertiesForTestingInternal(
- LayerType* layer,
- const gfx::Transform& transform,
- const gfx::PointF& position,
- const gfx::Size& bounds,
- bool is_3d_sorted) {
- layer->SetTransform(transform);
- layer->SetPosition(position);
- layer->SetBounds(bounds);
- layer->Set3dSortingContextId(is_3d_sorted ? 1 : 0);
- }
-
- void 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);
-
- void 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);
-
- void 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);
-
void ExecuteCalculateDrawProperties(Layer* root_layer,
float device_scale_factor,
float page_scale_factor,
« no previous file with comments | « no previous file | cc/test/layer_tree_host_common_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698