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

Unified Diff: cc/test/layer_test_common.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/output/renderer_pixeltest.cc ('k') | cc/test/surface_aggregator_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_test_common.cc
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
index ea49f5f1eab3832ea6b890dc2dd5c037613af001..d5c5a1c9d24314d51fb1baa1f183047b2cf71dae 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -97,8 +97,6 @@ void LayerTestCommon::VerifyQuadsAreOccluded(const QuadList& quads,
// ends up on integer boundaries for ease of testing.
ASSERT_EQ(target_rectf, gfx::RectF(target_rect));
}
- gfx::Rect target_visible_rect = MathUtil::MapEnclosingClippedRect(
- quad->shared_quad_state->quad_to_target_transform, quad->visible_rect);
bool fully_occluded_horizontal = target_rect.x() >= occluded.x() &&
target_rect.right() <= occluded.right();
« no previous file with comments | « cc/output/renderer_pixeltest.cc ('k') | cc/test/surface_aggregator_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698