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

Unified Diff: mojo/converters/surfaces/tests/surface_unittest.cc

Issue 1387283002: cc: Remove redundant is_overlay arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo changes on overlay_strategy_single_on_top.cc Created 5 years, 2 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 | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 90aab3c580fef7508ac7ad1b5fdc40baf4f0f47d..30b18841cf0cc21b2fdf0db4943161682823cb49 100644
--- a/mojo/converters/surfaces/tests/surface_unittest.cc
+++ b/mojo/converters/surfaces/tests/surface_unittest.cc
@@ -112,12 +112,10 @@ TEST_F(SurfaceLibQuadTest, TextureQuad) {
float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f};
bool y_flipped = false;
bool nearest_neighbor = false;
- 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);
+ resource_id, gfx::Size(), 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);
ASSERT_FALSE(mojo_quad.is_null());
@@ -266,12 +264,10 @@ TEST(SurfaceLibTest, RenderPass) {
float vertex_opacity[4] = {0.1f, 0.5f, 0.4f, 0.8f};
bool y_flipped = false;
bool nearest_neighbor = false;
- 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);
+ resource_id, gfx::Size(), premultiplied_alpha,
+ uv_top_left, uv_bottom_right, background_color,
+ vertex_opacity, y_flipped, nearest_neighbor);
PassPtr mojo_pass = Pass::From(*pass);
ASSERT_FALSE(mojo_pass.is_null());
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698