| Index: components/html_viewer/blink_platform_impl.cc
|
| diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc
|
| index 4f71823663be9dcc6185f4a785c38b9442af4c2a..627ed7137812ea9fe09b1ff43b2234edaba493a8 100644
|
| --- a/components/html_viewer/blink_platform_impl.cc
|
| +++ b/components/html_viewer/blink_platform_impl.cc
|
| @@ -59,13 +59,12 @@ class WebWaitableEventImpl : public blink::WebWaitableEvent {
|
| } // namespace
|
|
|
| BlinkPlatformImpl::BlinkPlatformImpl(mojo::ApplicationImpl* app)
|
| - : main_loop_(base::MessageLoop::current()),
|
| - shared_timer_func_(NULL),
|
| + : shared_timer_func_(NULL),
|
| shared_timer_fire_time_(0.0),
|
| shared_timer_fire_time_was_set_while_suspended_(false),
|
| shared_timer_suspended_(0),
|
| current_thread_slot_(&DestroyCurrentThread),
|
| - scheduler_(main_loop_->message_loop_proxy()) {
|
| + scheduler_(base::ThreadTaskRunnerHandle::Get()) {
|
| if (app) {
|
| app->ConnectToService("mojo:network_service", &network_service_);
|
|
|
| @@ -164,11 +163,6 @@ void BlinkPlatformImpl::stopSharedTimer() {
|
| shared_timer_.Stop();
|
| }
|
|
|
| -void BlinkPlatformImpl::callOnMainThread(
|
| - void (*func)(void*), void* context) {
|
| - main_loop_->PostTask(FROM_HERE, base::Bind(func, context));
|
| -}
|
| -
|
| bool BlinkPlatformImpl::isThreadedCompositingEnabled() {
|
| return true;
|
| }
|
|
|