Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 6a96c183dbe8e63b207ac7672c8309d70fb831f6..d65ba4fa56868c783fc52d3397c357c5e37ad7bf 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -801,7 +801,7 @@ void ThreadProxy::StartCommitOnImplThread( |
current_resource_update_controller_on_impl_thread_ = |
ResourceUpdateController::Create( |
this, |
- Proxy::ImplThread(), |
+ Proxy::ImplThread()->TaskRunner(), |
queue.Pass(), |
layer_tree_host_impl_->resource_provider()); |
current_resource_update_controller_on_impl_thread_->PerformMoreUpdates( |
@@ -1168,10 +1168,11 @@ void ThreadProxy::InitializeImplOnImplThread(CompletionEvent* completion) { |
} else { |
frame_rate_controller.reset( |
new FrameRateController(DelayBasedTimeSource::Create( |
- display_refresh_interval, Proxy::ImplThread()))); |
+ display_refresh_interval, Proxy::ImplThread()->TaskRunner()))); |
} |
} else { |
- frame_rate_controller.reset(new FrameRateController(Proxy::ImplThread())); |
+ frame_rate_controller.reset( |
+ new FrameRateController(Proxy::ImplThread()->TaskRunner())); |
} |
const LayerTreeSettings& settings = layer_tree_host_->settings(); |
SchedulerSettings scheduler_settings; |