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 8bc0a419dd5be5733d5b4da9c209256ee51a3dc1..fba3fe3033b2b7b1dc99628548e6e1c4ab7b30f7 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1879,6 +1879,12 @@ |
SetRequiresHighResToDraw(); |
} |
+const RendererCapabilitiesImpl& LayerTreeHostImpl::GetRendererCapabilities() |
+ const { |
+ CHECK(renderer_); |
+ return renderer_->Capabilities(); |
+} |
+ |
bool LayerTreeHostImpl::SwapBuffers(const LayerTreeHostImpl::FrameData& frame) { |
ResetRequiresHighResToDraw(); |
if (frame.has_no_damage) { |
@@ -2195,6 +2201,7 @@ |
active_tree_->set_needs_update_draw_properties(); |
if (pending_tree_) |
pending_tree_->set_needs_update_draw_properties(); |
+ client_->UpdateRendererCapabilitiesOnImplThread(); |
} |
void LayerTreeHostImpl::CreateTileManagerResources() { |