Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index e97ee7f74d9b7a6e812f816b8ca43401673eb786..46d04ba309656f80cb57da9f918bc9673b24af41 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -1022,7 +1022,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) { |
// If this is not the sync tree, then it is not safe to update lcd text |
// as it causes invalidations and the tiles may be in use. |
DCHECK_EQ(this, sync_tree); |
- for (const auto& layer : picture_layers_) |
+ for (auto* layer : picture_layers_) |
layer->UpdateCanUseLCDTextAfterCommit(); |
} |