Index: cc/trees/single_thread_proxy.cc |
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc |
index 7fe1f565106808b68952ba9866a608188f381b81..6e24f7cb9f7e3ede324ff406ee0fe20a46a9b9f0 100644 |
--- a/cc/trees/single_thread_proxy.cc |
+++ b/cc/trees/single_thread_proxy.cc |
@@ -325,6 +325,15 @@ void SingleThreadProxy::SendManagedMemoryStats() { |
bool SingleThreadProxy::IsInsideDraw() { return inside_draw_; } |
+void SingleThreadProxy::DidUpdateCapabilitiesOnImplThread() { |
+ { |
+ DebugScopedSetImplThread impl(this); |
+ renderer_capabilities_for_main_thread_ = |
+ layer_tree_host_impl_->GetRendererCapabilities(); |
+ } |
+ layer_tree_host_->DidUpdateCapabilities(); |
+} |
+ |
void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() { |
// Cause a commit so we can notice the lost context. |
SetNeedsCommitOnImplThread(); |