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

Unified Diff: cc/trees/layer_tree_host_impl.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/layer_tree_host.cc ('k') | cc/trees/occlusion_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 7f7d45a72dfa860111b4ed72d4ad9d19ed2aa1e1..6f267cc51b0417ac65f35299e15a4be158db4da9 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -749,7 +749,6 @@ bool LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
const DrawMode draw_mode = GetDrawMode(output_surface_.get());
- const bool prevent_occlusion = false;
LayerIteratorType end =
LayerIteratorType::End(frame->render_surface_layer_list);
for (LayerIteratorType it =
@@ -761,7 +760,7 @@ bool LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
RenderPass* target_render_pass =
frame->render_passes_by_id[target_render_pass_id];
- occlusion_tracker.EnterLayer(it, prevent_occlusion);
+ occlusion_tracker.EnterLayer(it);
AppendQuadsData append_quads_data(target_render_pass_id);
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/occlusion_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698