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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 328113006: cc: Recreate TileManager in DeferredInitialize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 94d2864c696535575997ee2d32c898b0d00816eb..a7e4f97a480e50e407924559af1a9f2aebda71de 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -2031,12 +2031,15 @@ void LayerTreeHostImpl::DeferredInitialize() {
ReleaseTreeResources();
renderer_.reset();
+ DestroyTileManager();
resource_provider_->InitializeGL();
danakj 2014/06/11 18:49:17 This method now looks exactly the same as ReleaseG
boliu 2014/06/11 20:00:03 Made whitespace changes so they match
CreateAndSetRenderer();
EnforceZeroBudget(false);
+ CreateAndSetTileManager();
+
client_->SetNeedsCommitOnImplThread();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698