| Index: cc/trees/single_thread_proxy.cc
|
| diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
|
| index cf9206c939011ef6b4965eb93e2b2745ee3abb70..2a53ef6d0628899ba3bfd37d73595a9262f9f54a 100644
|
| --- a/cc/trees/single_thread_proxy.cc
|
| +++ b/cc/trees/single_thread_proxy.cc
|
| @@ -152,7 +152,6 @@ void SingleThreadProxy::SetOutputSurface(OutputSurface* output_surface) {
|
| DCHECK(task_runner_provider_->IsMainThread());
|
| DCHECK(layer_tree_host_->output_surface_lost());
|
| DCHECK(output_surface_creation_requested_);
|
| - renderer_capabilities_for_main_thread_ = RendererCapabilities();
|
|
|
| bool success;
|
| {
|
| @@ -175,12 +174,6 @@ void SingleThreadProxy::SetOutputSurface(OutputSurface* output_surface) {
|
| }
|
| }
|
|
|
| -const RendererCapabilities& SingleThreadProxy::GetRendererCapabilities() const {
|
| - DCHECK(task_runner_provider_->IsMainThread());
|
| - DCHECK(!layer_tree_host_->output_surface_lost());
|
| - return renderer_capabilities_for_main_thread_;
|
| -}
|
| -
|
| void SingleThreadProxy::SetNeedsAnimate() {
|
| TRACE_EVENT0("cc", "SingleThreadProxy::SetNeedsAnimate");
|
| DCHECK(task_runner_provider_->IsMainThread());
|
| @@ -457,12 +450,6 @@ void SingleThreadProxy::DidCompletePageScaleAnimationOnImplThread() {
|
| layer_tree_host_->DidCompletePageScaleAnimation();
|
| }
|
|
|
| -void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() {
|
| - DCHECK(task_runner_provider_->IsImplThread());
|
| - renderer_capabilities_for_main_thread_ =
|
| - layer_tree_host_impl_->GetRendererCapabilities().MainThreadCapabilities();
|
| -}
|
| -
|
| void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() {
|
| TRACE_EVENT0("cc", "SingleThreadProxy::DidLoseOutputSurfaceOnImplThread");
|
| {
|
|
|