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

Unified Diff: cc/trees/quad_culler_unittest.cc

Issue 74923004: Remove unused variable OcclusionTracker::prevent_occlusion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/trees/occlusion_tracker_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/quad_culler_unittest.cc
diff --git a/cc/trees/quad_culler_unittest.cc b/cc/trees/quad_culler_unittest.cc
index 28987c7589fe5bd35471894d41fe405c967c018e..c07a0a79e044ed02e9e40e8f15d2c88b5c615dbb 100644
--- a/cc/trees/quad_culler_unittest.cc
+++ b/cc/trees/quad_culler_unittest.cc
@@ -108,7 +108,7 @@ class QuadCullerTest : public testing::Test {
TiledLayerImpl* layer,
LayerIteratorType* it,
OcclusionTrackerImpl* occlusion_tracker) {
- occlusion_tracker->EnterLayer(*it, false);
+ occlusion_tracker->EnterLayer(*it);
QuadCuller quad_culler(
quad_list, shared_state_list, layer, *occlusion_tracker, false, false);
AppendQuadsData data;
@@ -819,7 +819,7 @@ TEST_F(QuadCullerTest, PartialCullingNotDestroyed) {
replica_quad->visible_rect = gfx::Rect(30, 40, 15, 16);
// Nothing is occluding.
- occlusion_tracker.EnterLayer(it, false);
+ occlusion_tracker.EnterLayer(it);
EXPECT_EQ(0u, quad_list.size());
@@ -893,7 +893,7 @@ TEST_F(QuadCullerTest, PartialCullingWithOcclusionNotDestroyed) {
replica_quad->visible_rect = gfx::Rect(10, 30, 15, 16);
// Occlude the left part of the visible rects.
- occlusion_tracker.EnterLayer(it, false);
+ occlusion_tracker.EnterLayer(it);
occlusion_tracker.set_occlusion_from_outside_target(gfx::Rect(0, 0, 15, 100));
EXPECT_EQ(0u, quad_list.size());
« no previous file with comments | « cc/trees/occlusion_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698