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 4c847ebf871de1f277b09c486441f2595e7b62e0..9d450b9ae1948981a6798457520badc5619c4a02 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -308,7 +308,8 @@ void LayerTreeHostImpl::CommitComplete() { |
// Impl-side painting needs an update immediately post-commit to have the |
// opportunity to create tilings. Other paths can call UpdateDrawProperties |
// more lazily when needed prior to drawing. |
- sync_tree()->UpdateDrawProperties(); |
+ bool update_lcd_text = true; |
danakj
2015/02/18 21:51:46
Mind leaving a comment why it's true here?
enne (OOO)
2015/02/18 22:16:07
Done.
|
+ sync_tree()->UpdateDrawProperties(update_lcd_text); |
// Start working on newly created tiles immediately if needed. |
if (tile_manager_ && tile_priorities_dirty_) |
PrepareTiles(); |
@@ -1046,7 +1047,8 @@ DrawResult LayerTreeHostImpl::PrepareToDraw(FrameData* frame) { |
UMA_HISTOGRAM_CUSTOM_COUNTS( |
"Compositing.NumActiveLayers", active_tree_->NumLayers(), 1, 400, 20); |
- bool ok = active_tree_->UpdateDrawProperties(); |
+ bool update_lcd_text = false; |
+ bool ok = active_tree_->UpdateDrawProperties(update_lcd_text); |
DCHECK(ok) << "UpdateDrawProperties failed during draw"; |
// This will cause NotifyTileStateChanged() to be called for any visible tiles |