| 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 debacd759d6fdad16f8dfa55560d02dc8d56862b..7dc7dd3c957f1556dbdcfc1ac7d2f16b6225176b 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -790,18 +790,10 @@ DrawResult LayerTreeHostImpl::CalculateRenderPasses(FrameData* frame) {
|
| active_tree_->hud_layer()->IsAnimatingHUDContents();
|
| bool resources_must_be_resent =
|
| compositor_frame_sink_->capabilities().can_force_reclaim_resources;
|
| - // When touch handle visibility changes there is no visible damage
|
| - // because touch handles are composited in the browser. However we
|
| - // still want the browser to be notified that the handles changed
|
| - // through the |ViewHostMsg_SwapCompositorFrame| IPC so we keep
|
| - // track of handle visibility changes through |handle_visibility_changed|.
|
| - bool handle_visibility_changed =
|
| - active_tree_->GetAndResetHandleVisibilityChanged();
|
| if (root_surface_has_contributing_layers &&
|
| root_surface_has_no_visible_damage &&
|
| !active_tree_->property_trees()->effect_tree.HasCopyRequests() &&
|
| - !resources_must_be_resent && !hud_wants_to_draw_ &&
|
| - !handle_visibility_changed) {
|
| + !resources_must_be_resent && !hud_wants_to_draw_) {
|
| TRACE_EVENT0("cc",
|
| "LayerTreeHostImpl::CalculateRenderPasses::EmptyDamageRect");
|
| frame->has_no_damage = true;
|
|
|