Index: cc/trees/proxy_impl.cc |
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc |
index 7defc51fd4b093d6b995c1b282d38af7ea943d12..3a6f2db319847a10c0e1d43e28c366f80a0bb220 100644 |
--- a/cc/trees/proxy_impl.cc |
+++ b/cc/trees/proxy_impl.cc |
@@ -146,14 +146,7 @@ void ProxyImpl::InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) { |
LayerTreeHostImpl* host_impl = layer_tree_host_impl_.get(); |
bool success = host_impl->InitializeRenderer(output_surface); |
- RendererCapabilities capabilities; |
- if (success) { |
- capabilities = |
- host_impl->GetRendererCapabilities().MainThreadCapabilities(); |
- } |
- |
- channel_impl_->DidInitializeOutputSurface(success, capabilities); |
- |
+ channel_impl_->DidInitializeOutputSurface(success); |
if (success) |
scheduler_->DidCreateAndInitializeOutputSurface(); |
} |
@@ -277,13 +270,6 @@ void ProxyImpl::NotifyReadyToCommitOnImpl( |
scheduler_->NotifyReadyToCommit(); |
} |
-void ProxyImpl::UpdateRendererCapabilitiesOnImplThread() { |
- DCHECK(IsImplThread()); |
- channel_impl_->SetRendererCapabilitiesMainCopy( |
- layer_tree_host_impl_->GetRendererCapabilities() |
- .MainThreadCapabilities()); |
-} |
- |
void ProxyImpl::DidLoseOutputSurfaceOnImplThread() { |
TRACE_EVENT0("cc", "ProxyImpl::DidLoseOutputSurfaceOnImplThread"); |
DCHECK(IsImplThread()); |