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

Unified Diff: cc/trees/occlusion_tracker_perftest.cc

Issue 2054253002: Remove unused variables, cc/ edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert functional changes 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/surface_aggregator_test_helpers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion_tracker_perftest.cc
diff --git a/cc/trees/occlusion_tracker_perftest.cc b/cc/trees/occlusion_tracker_perftest.cc
index 867544fcce5f82554c882f18d8f50ffaed24a3b7..aadfa22ac2b5a525d7f5efe11d831966d433c1e3 100644
--- a/cc/trees/occlusion_tracker_perftest.cc
+++ b/cc/trees/occlusion_tracker_perftest.cc
@@ -127,7 +127,7 @@ TEST_F(OcclusionTrackerPerfTest, UnoccludedContentRect_FullyOccluded) {
bool expect_empty =
query_content_rect.right() <= viewport_rect.width() &&
query_content_rect.bottom() + 96 <= viewport_rect.height();
- CHECK_EQ(expect_empty, unoccluded.IsEmpty())
+ ASSERT_EQ(expect_empty, unoccluded.IsEmpty())
<< query_content_rect.ToString();
}
}
@@ -188,7 +188,7 @@ TEST_F(OcclusionTrackerPerfTest, UnoccludedContentRect_10OpaqueLayers) {
LayerIteratorPosition pos = begin;
tracker.EnterLayer(pos);
tracker.LeaveLayer(pos);
-
+ /* This block doesn't seem to do anything, missing part of the loop body?
danakj 2016/06/10 21:30:58 TBH I think you can delete this file. That's easie
Peter Kasting 2016/06/10 21:56:48 That makes it easy.
gfx::Transform transform_to_target;
transform_to_target.Translate(0, 96);
@@ -205,7 +205,7 @@ TEST_F(OcclusionTrackerPerfTest, UnoccludedContentRect_10OpaqueLayers) {
timer_.NextLap();
} while (!timer_.HasTimeLimitExpired());
-
+ */
++begin;
LayerIteratorPosition next = begin;
EXPECT_EQ(active_tree()->root_layer(), next.current_layer);
« no previous file with comments | « cc/test/surface_aggregator_test_helpers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698