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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 151093005: cc: Update Main RendererCapabilities on DeferredInitialize (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with tests Created 6 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
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 6829156565e085b73fe85fd9cbdc9942ca8303fe..e22467cee0c6bb1d1f73637f532f09149d44d2d7 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1865,6 +1865,7 @@ bool LayerTreeHostImpl::DeferredInitialize(
if (success) {
EnforceZeroBudget(false);
+ client_->UpdateRendererCapabilitiesOnImplThread();
client_->SetNeedsCommitOnImplThread();
} else {
if (offscreen_context_provider.get()) {
@@ -1917,6 +1918,7 @@ void LayerTreeHostImpl::ReleaseGL() {
SetOffscreenContextProvider(NULL);
+ client_->UpdateRendererCapabilitiesOnImplThread();
client_->SetNeedsCommitOnImplThread();
}

Powered by Google App Engine
This is Rietveld 408576698