Index: content/browser/worker_host/worker_process_host.cc |
diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc |
index 8dc2e1ab3aeed55b1839da1d7500c58154e4e7b9..59fdcee875c8eba02e6238ae84a902086ed4f4b7 100644 |
--- a/content/browser/worker_host/worker_process_host.cc |
+++ b/content/browser/worker_host/worker_process_host.cc |
@@ -16,6 +16,7 @@ |
#include "content/browser/browser_thread.h" |
#include "content/browser/child_process_security_policy.h" |
#include "content/browser/content_browser_client.h" |
+#include "content/browser/debugger/worker_devtools_message_filter.h" |
#include "content/browser/file_system/file_system_dispatcher_host.h" |
#include "content/browser/mime_registry_message_filter.h" |
#include "content/browser/renderer_host/blob_message_filter.h" |
@@ -255,6 +256,7 @@ void WorkerProcessHost::CreateMessageFilters(int render_process_id) { |
new SocketStreamDispatcherHost( |
new URLRequestContextSelector(request_context), resource_context_); |
AddFilter(socket_stream_dispatcher_host); |
+ AddFilter(new WorkerDevToolsMessageFilter(id())); |
} |
void WorkerProcessHost::CreateWorker(const WorkerInstance& instance) { |