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

Unified Diff: cc/test/layer_tree_host_common_test.cc

Issue 465853004: Moving RenderSurface creation outside of CalcDrawProps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated unit tests Created 6 years, 4 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
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 3b6b14b5dec2efcd5ea3ebd6e6259d598de4830c..0a17ab506bf3592d0ac2b3e440695acfdfc8bc4a 100644
--- a/cc/test/layer_tree_host_common_test.cc
+++ b/cc/test/layer_tree_host_common_test.cc
@@ -31,7 +31,8 @@ void LayerTreeHostCommonTestBase::SetLayerPropertiesForTesting(
position,
bounds,
flatten_transform,
- is_3d_sorted);
+ is_3d_sorted,
+ false);
}
void LayerTreeHostCommonTestBase::SetLayerPropertiesForTesting(
@@ -41,14 +42,16 @@ void LayerTreeHostCommonTestBase::SetLayerPropertiesForTesting(
const gfx::PointF& position,
const gfx::Size& bounds,
bool flatten_transform,
- bool is_3d_sorted) {
+ bool is_3d_sorted,
+ bool create_render_surface) {
SetLayerPropertiesForTestingInternal<LayerImpl>(layer,
transform,
transform_origin,
position,
bounds,
flatten_transform,
- is_3d_sorted);
+ is_3d_sorted,
+ create_render_surface);
layer->SetContentBounds(bounds);
}

Powered by Google App Engine
This is Rietveld 408576698