Chromium Code Reviews| 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 480fe3bd0a02fc1e01c29b85dff4709990a58527..584d6829e2aebe83fc029e03a61fc28797cbebb5 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -716,7 +716,9 @@ DrawSwapReadbackResult::DrawResult LayerTreeHostImpl::CalculateRenderPasses( |
| !root_surface->layer_list().empty(); |
| if (root_surface_has_contributing_layers && |
| root_surface_has_no_visible_damage && |
| - active_tree_->LayersWithCopyOutputRequest().empty()) { |
| + active_tree_->LayersWithCopyOutputRequest().empty() && |
| + (!active_tree_->hud_layer() || |
|
danakj
2014/03/06 19:03:21
I'm not sure why this is needed. The HUD layer alw
caseq
2014/03/07 09:08:21
From what I can see, we explicitly exclude HUD fro
danakj
2014/03/07 20:50:20
OK this looks reasonable to me, now that I underst
malch
2014/03/11 16:14:42
Done.
|
| + !active_tree_->hud_layer()->NeedsUpdate())) { |
| TRACE_EVENT0("cc", |
| "LayerTreeHostImpl::CalculateRenderPasses::EmptyDamageRect"); |
| frame->has_no_damage = true; |