| Index: mojo/converters/surfaces/tests/surface_unittest.cc
|
| diff --git a/mojo/converters/surfaces/tests/surface_unittest.cc b/mojo/converters/surfaces/tests/surface_unittest.cc
|
| index 845a9e39fc5bcb45f5b0daa175f1726104f868b1..53d93956ad5fe51a4b1fd3875df92bfe7ef90ad2 100644
|
| --- a/mojo/converters/surfaces/tests/surface_unittest.cc
|
| +++ b/mojo/converters/surfaces/tests/surface_unittest.cc
|
| @@ -111,18 +111,11 @@ TEST_F(SurfaceLibQuadTest, TextureQuad) {
|
| float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f};
|
| bool y_flipped = false;
|
| bool nearest_neighbor = false;
|
| - texture_quad->SetAll(sqs,
|
| - rect,
|
| - opaque_rect,
|
| - visible_rect,
|
| - needs_blending,
|
| - resource_id,
|
| - premultiplied_alpha,
|
| - uv_top_left,
|
| - uv_bottom_right,
|
| - background_color,
|
| - vertex_opacity,
|
| - y_flipped,
|
| + bool allow_overlay = false;
|
| + texture_quad->SetAll(sqs, rect, opaque_rect, visible_rect, needs_blending,
|
| + resource_id, gfx::Size(), allow_overlay,
|
| + premultiplied_alpha, uv_top_left, uv_bottom_right,
|
| + background_color, vertex_opacity, y_flipped,
|
| nearest_neighbor);
|
|
|
| QuadPtr mojo_quad = Quad::From<cc::DrawQuad>(*texture_quad);
|
| @@ -278,18 +271,11 @@ TEST(SurfaceLibTest, RenderPass) {
|
| float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f};
|
| bool y_flipped = false;
|
| bool nearest_neighbor = false;
|
| - texture_quad->SetAll(sqs,
|
| - rect,
|
| - opaque_rect,
|
| - visible_rect,
|
| - needs_blending,
|
| - resource_id,
|
| - premultiplied_alpha,
|
| - uv_top_left,
|
| - uv_bottom_right,
|
| - background_color,
|
| - vertex_opacity,
|
| - y_flipped,
|
| + bool allow_overlay = false;
|
| + texture_quad->SetAll(sqs, rect, opaque_rect, visible_rect, needs_blending,
|
| + resource_id, gfx::Size(), allow_overlay,
|
| + premultiplied_alpha, uv_top_left, uv_bottom_right,
|
| + background_color, vertex_opacity, y_flipped,
|
| nearest_neighbor);
|
|
|
| PassPtr mojo_pass = Pass::From(*pass);
|
|
|