Index: content/child/blink_platform_impl.cc |
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc |
index 454a2b3486729a8b368d8ddadeafe69d5738a6f5..0947d848df81ecc6815f22d4de896846f0b1028f 100644 |
--- a/content/child/blink_platform_impl.cc |
+++ b/content/child/blink_platform_impl.cc |
@@ -40,11 +40,11 @@ |
#include "content/child/permissions/permission_dispatcher_thread_proxy.h" |
#include "content/child/push_messaging/push_dispatcher.h" |
#include "content/child/push_messaging/push_provider.h" |
+#include "content/child/scheduler/webthread_impl_for_worker_scheduler.h" |
#include "content/child/thread_safe_sender.h" |
#include "content/child/web_discardable_memory_impl.h" |
#include "content/child/web_url_loader_impl.h" |
#include "content/child/websocket_bridge.h" |
-#include "content/child/webthread_impl.h" |
#include "content/child/worker_task_runner.h" |
#include "content/public/common/content_client.h" |
#include "net/base/data_url.h" |
@@ -506,7 +506,8 @@ bool BlinkPlatformImpl::isReservedIPAddress( |
} |
blink::WebThread* BlinkPlatformImpl::createThread(const char* name) { |
- WebThreadImpl* thread = new WebThreadImpl(name); |
+ WebThreadImplForWorkerScheduler* thread = |
+ new WebThreadImplForWorkerScheduler(name); |
thread->TaskRunner()->PostTask( |
FROM_HERE, base::Bind(&BlinkPlatformImpl::UpdateWebThreadTLS, |
base::Unretained(this), thread)); |