Index: content/renderer/renderer_blink_platform_impl.cc |
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc |
index 2aa359bd43f7460f886ce95cdefcaf1717c91c2c..40141fcd8242985b3c5324fe3be2e4d9fab49aaa 100644 |
--- a/content/renderer/renderer_blink_platform_impl.cc |
+++ b/content/renderer/renderer_blink_platform_impl.cc |
@@ -229,7 +229,8 @@ class RendererBlinkPlatformImpl::SandboxSupport |
RendererBlinkPlatformImpl::RendererBlinkPlatformImpl( |
RendererScheduler* renderer_scheduler) |
- : web_scheduler_(new WebSchedulerImpl(renderer_scheduler)), |
+ : BlinkPlatformImpl(renderer_scheduler->DefaultTaskRunner()), |
+ web_scheduler_(new WebSchedulerImpl(renderer_scheduler)), |
clipboard_client_(new RendererClipboardClient), |
clipboard_(new WebClipboardImpl(clipboard_client_.get())), |
mime_registry_(new RendererBlinkPlatformImpl::MimeRegistry), |
@@ -263,11 +264,6 @@ RendererBlinkPlatformImpl::~RendererBlinkPlatformImpl() { |
//------------------------------------------------------------------------------ |
-void RendererBlinkPlatformImpl::callOnMainThread(void (*func)(void*), |
- void* context) { |
- default_task_runner_->PostTask(FROM_HERE, base::Bind(func, context)); |
-} |
- |
blink::WebScheduler* RendererBlinkPlatformImpl::scheduler() { |
return web_scheduler_.get(); |
} |