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

Unified Diff: cc/test/layer_test_common.cc

Issue 304203005: Remove const LayerImpl* from QuadSink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onlyQuadSink
Patch Set: Created 6 years, 7 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
Index: cc/test/layer_test_common.cc
diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
index 0f226fa34730832ee16f89181304354d4110687c..a33160368cb60645b0011ec2876b41f1733bae86 100644
--- a/cc/test/layer_test_common.cc
+++ b/cc/test/layer_test_common.cc
@@ -126,7 +126,6 @@ void LayerTestCommon::LayerImplTest::AppendQuadsWithOcclusion(
AppendQuadsData data;
quad_culler_->clear_lists();
- quad_culler_->set_layer(layer_impl);
quad_culler_->set_occluded_target_rect(occluded);
layer_impl->WillDraw(DRAW_MODE_HARDWARE, resource_provider());
layer_impl->AppendQuads(quad_culler_.get(), &data);
@@ -140,7 +139,6 @@ void LayerTestCommon::LayerImplTest::AppendQuadsForPassWithOcclusion(
AppendQuadsData data(id);
quad_culler_->clear_lists();
- quad_culler_->set_layer(layer_impl);
quad_culler_->set_occluded_target_rect(occluded);
layer_impl->WillDraw(DRAW_MODE_HARDWARE, resource_provider());
layer_impl->AppendQuads(quad_culler_.get(), &data);
@@ -154,7 +152,6 @@ void LayerTestCommon::LayerImplTest::AppendSurfaceQuadsWithOcclusion(
AppendQuadsData data;
quad_culler_->clear_lists();
- quad_culler_->set_layer(owning_layer_impl);
quad_culler_->set_occluded_target_rect_for_contributing_surface(occluded);
bool for_replica = false;
RenderPass::Id id(1, 1);

Powered by Google App Engine
This is Rietveld 408576698