| 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 4b1fd211493cee536a12e508dd4cc07324d1589e..cdfb9cba9a3130a0f05772404a24fe924eb8b22e 100644
|
| --- a/mojo/converters/surfaces/tests/surface_unittest.cc
|
| +++ b/mojo/converters/surfaces/tests/surface_unittest.cc
|
| @@ -108,6 +108,7 @@ TEST_F(SurfaceLibQuadTest, TextureQuad) {
|
| SkColor background_color = SK_ColorYELLOW;
|
| float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f};
|
| bool flipped = false;
|
| + bool nearest_neighbor = false;
|
| texture_quad->SetAll(sqs,
|
| rect,
|
| opaque_rect,
|
| @@ -119,7 +120,8 @@ TEST_F(SurfaceLibQuadTest, TextureQuad) {
|
| uv_bottom_right,
|
| background_color,
|
| vertex_opacity,
|
| - flipped);
|
| + flipped,
|
| + nearest_neighbor);
|
|
|
| QuadPtr mojo_quad = Quad::From<cc::DrawQuad>(*texture_quad);
|
| ASSERT_FALSE(mojo_quad.is_null());
|
| @@ -267,6 +269,7 @@ TEST(SurfaceLibTest, RenderPass) {
|
| SkColor background_color = SK_ColorYELLOW;
|
| float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f};
|
| bool flipped = false;
|
| + bool nearest_neighbor = false;
|
| texture_quad->SetAll(sqs,
|
| rect,
|
| opaque_rect,
|
| @@ -278,7 +281,8 @@ TEST(SurfaceLibTest, RenderPass) {
|
| uv_bottom_right,
|
| background_color,
|
| vertex_opacity,
|
| - flipped);
|
| + flipped,
|
| + nearest_neighbor);
|
|
|
| PassPtr mojo_pass = Pass::From(*pass);
|
| ASSERT_FALSE(mojo_pass.is_null());
|
|
|