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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 2323583002: cc: Remove DelegatingRenderer. (Closed)
Patch Set: Created 4 years, 3 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_host_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 1f6b88c85497ece2288fe14621f394decee03329..7ec16870f33241d6fd2d7218d9951f239a6ca77f 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -928,10 +928,9 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
// early outs before this.
needs_update_draw_properties_ = false;
- // For max_texture_size. When the renderer is re-created in
- // CreateAndSetRenderer, the needs update draw properties flag is set
- // again.
- if (!layer_tree_host_impl_->renderer())
+ // For max_texture_size. When a new output surface is received the needs
+ // update draw properties flag is set again.
+ if (!layer_tree_host_impl_->output_surface())
return false;
// Clear this after the renderer early out, as it should still be
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698