Index: cc/surfaces/surface_aggregator_test_helpers.cc |
diff --git a/cc/surfaces/surface_aggregator_test_helpers.cc b/cc/surfaces/surface_aggregator_test_helpers.cc |
index b21b37e28d64a63174d135b077e275bf4234c7c7..f7da1a25c84d50f9eb24bc2b628949be078ed99c 100644 |
--- a/cc/surfaces/surface_aggregator_test_helpers.cc |
+++ b/cc/surfaces/surface_aggregator_test_helpers.cc |
@@ -26,22 +26,17 @@ void AddTestSurfaceQuad(TestRenderPass* pass, |
const gfx::Size& surface_size, |
float opacity, |
SurfaceId surface_id) { |
- gfx::Transform content_to_target_transform; |
- gfx::Size content_bounds = surface_size; |
- gfx::Rect visible_content_rect = gfx::Rect(surface_size); |
+ gfx::Transform layer_to_target_transform; |
+ gfx::Size layer_bounds = surface_size; |
+ gfx::Rect visible_layer_rect = gfx::Rect(surface_size); |
gfx::Rect clip_rect = gfx::Rect(surface_size); |
bool is_clipped = false; |
SkXfermode::Mode blend_mode = SkXfermode::kSrcOver_Mode; |
SharedQuadState* shared_quad_state = pass->CreateAndAppendSharedQuadState(); |
- shared_quad_state->SetAll(content_to_target_transform, |
- content_bounds, |
- visible_content_rect, |
- clip_rect, |
- is_clipped, |
- opacity, |
- blend_mode, |
- 0); |
+ shared_quad_state->SetAll(layer_to_target_transform, layer_bounds, |
+ visible_layer_rect, clip_rect, is_clipped, opacity, |
+ blend_mode, 0); |
SurfaceDrawQuad* surface_quad = |
pass->CreateAndAppendDrawQuad<SurfaceDrawQuad>(); |