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 0bd757d1d3ff3a7c5a02030c9a5b8a883e801e89..ae79c59d14e62e04d9fe0abfb597cf5c1f3f1192 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -308,8 +308,8 @@ void LayerTreeHostImpl::CommitComplete() { |
// more lazily when needed prior to drawing. Because invalidations may |
// be coming from the main thread, it's safe to do an update for lcd text |
// at this point and see if lcd text needs to be disabled on any layers. |
- bool update_lcd_text = true; |
- sync_tree()->UpdateDrawProperties(update_lcd_text); |
+ bool first_update_after_commit = true; |
+ sync_tree()->UpdateDrawProperties(first_update_after_commit); |
// Start working on newly created tiles immediately if needed. |
if (tile_manager_ && tile_priorities_dirty_) |
PrepareTiles(); |
@@ -1048,8 +1048,8 @@ DrawResult LayerTreeHostImpl::PrepareToDraw(FrameData* frame) { |
UMA_HISTOGRAM_CUSTOM_COUNTS( |
"Compositing.NumActiveLayers", active_tree_->NumLayers(), 1, 400, 20); |
- bool update_lcd_text = false; |
- bool ok = active_tree_->UpdateDrawProperties(update_lcd_text); |
+ bool first_update_after_commit = false; |
+ bool ok = active_tree_->UpdateDrawProperties(first_update_after_commit); |
DCHECK(ok) << "UpdateDrawProperties failed during draw"; |
// This will cause NotifyTileStateChanged() to be called for any visible tiles |