Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 935143002: cc: Remove UpdateDrawProperties during sync composite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lcd_text_compositor_side_only
Patch Set: I can't type today Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index b6fd7e015f04ec65452f912be7fe13026522ee10..e45b182f301c1119717058896d624fc0f3b77a13 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -532,9 +532,8 @@ void SingleThreadProxy::CompositeImmediately(base::TimeTicks frame_begin_time) {
DebugScopedSetImplThread impl(const_cast<SingleThreadProxy*>(this));
if (layer_tree_host_impl_->settings().impl_side_painting) {
layer_tree_host_impl_->ActivateSyncTree();
- bool update_lcd_text = false;
- layer_tree_host_impl_->active_tree()->UpdateDrawProperties(
- update_lcd_text);
+ DCHECK(!layer_tree_host_impl_->active_tree()
+ ->needs_update_draw_properties());
layer_tree_host_impl_->PrepareTiles();
layer_tree_host_impl_->SynchronouslyInitializeAllTiles();
}
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698