| Index: cc/trees/layer_tree_host.cc
|
| diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
|
| index d93e3d5e032e80c8cf353b672338904f832a16f2..bd6d15c4dd08cef9772bd5e69bd3a58768e1efb7 100644
|
| --- a/cc/trees/layer_tree_host.cc
|
| +++ b/cc/trees/layer_tree_host.cc
|
| @@ -1057,7 +1057,7 @@ void LayerTreeHost::PaintLayerContents(
|
| if (it.represents_target_render_surface()) {
|
| PaintMasksForRenderSurface(
|
| *it, queue, did_paint_content, need_more_updates);
|
| - } else if (it.represents_itself() && it->DrawsContent()) {
|
| + } else if (it.represents_itself() && !it->draw_properties().skip_drawing) {
|
| devtools_instrumentation::ScopedLayerTreeTask
|
| update_layer(devtools_instrumentation::kUpdateLayer, it->id(), id());
|
| DCHECK(!it->paint_properties().bounds.IsEmpty());
|
|
|