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

Unified Diff: cc/test/surface_aggregator_test_helpers.cc

Issue 2054253002: Remove unused variables, cc/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete perftest Created 4 years, 6 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 | « cc/test/layer_test_common.cc ('k') | cc/trees/occlusion_tracker_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/surface_aggregator_test_helpers.cc
diff --git a/cc/test/surface_aggregator_test_helpers.cc b/cc/test/surface_aggregator_test_helpers.cc
index 2b0aff51fb88a283eccfc9fe1e932b50fb9bcb6d..ddd66b8b464fedf84fed375c7c553b4677df0320 100644
--- a/cc/test/surface_aggregator_test_helpers.cc
+++ b/cc/test/surface_aggregator_test_helpers.cc
@@ -42,9 +42,8 @@ void AddSurfaceQuad(RenderPass* pass,
SurfaceDrawQuad* surface_quad =
pass->CreateAndAppendDrawQuad<SurfaceDrawQuad>();
gfx::Rect quad_rect = gfx::Rect(surface_size);
- surface_quad->SetNew(pass->shared_quad_state_list.back(),
- gfx::Rect(surface_size), gfx::Rect(surface_size),
- surface_id);
+ surface_quad->SetNew(pass->shared_quad_state_list.back(), quad_rect,
+ quad_rect, surface_id);
}
void AddRenderPassQuad(RenderPass* pass, RenderPassId render_pass_id) {
gfx::Rect output_rect = gfx::Rect(0, 0, 5, 5);
« no previous file with comments | « cc/test/layer_test_common.cc ('k') | cc/trees/occlusion_tracker_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698