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

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: Remove DCHECK in TextureLayer::OnOutputSurfaceCreated 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 9939822a34b56ca7026b7dd32246dddbabc39ca0..e72205f4e1ea45056daea7df9116a14aaef0c179 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1869,6 +1869,7 @@ bool LayerTreeHostImpl::DeferredInitialize(
if (success) {
EnforceZeroBudget(false);
+ client_->UpdateRendererCapabilitiesOnImplThread();
client_->SetNeedsCommitOnImplThread();
} else {
if (offscreen_context_provider.get()) {
@@ -1922,6 +1923,7 @@ void LayerTreeHostImpl::ReleaseGL() {
SetOffscreenContextProvider(NULL);
+ client_->UpdateRendererCapabilitiesOnImplThread();
client_->SetNeedsCommitOnImplThread();
}

Powered by Google App Engine
This is Rietveld 408576698