Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index e6bcbcab844e2166c78216a1d15231814316b564..468a1852fe87c36ece95bda3978adb6e4c8d001f 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -65,6 +65,7 @@ |
#include "content/child/runtime_features.h" |
#include "content/child/thread_safe_sender.h" |
#include "content/child/web_database_observer_impl.h" |
+#include "content/child/websocket_message_filter.h" |
#include "content/child/worker_thread_registry.h" |
#include "content/common/child_process_messages.h" |
#include "content/common/content_constants_internal.h" |
@@ -1184,6 +1185,9 @@ void RenderThreadImpl::InitializeWebKit( |
resource_task_queue2); |
resource_dispatcher()->SetMainThreadTaskRunner(resource_task_queue2); |
+ websocket_message_filter()->SetLoadingTaskRunner( |
+ renderer_scheduler_->LoadingTaskRunner()); |
+ |
if (!command_line.HasSwitch(switches::kDisableThreadedCompositing) && |
!command_line.HasSwitch(switches::kUseRemoteCompositing)) |
InitializeCompositorThread(); |