Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: content/renderer/shared_worker/embedded_shared_worker_stub.cc

Issue 198753002: Don't handle DispatchOnInspectorBackend msg for SharedWorkers in DevToolsAgentFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename OnUI to OnMainThread. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/shared_worker/embedded_shared_worker_stub.cc
diff --git a/content/renderer/shared_worker/embedded_shared_worker_stub.cc b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
index 93179d96bfed50454888dc9342555b12691e5175..aa3452961fcb45034e71543e4854312a29b21c90 100644
--- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc
+++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
@@ -26,7 +26,7 @@ EmbeddedSharedWorkerStub::EmbeddedSharedWorkerStub(
name_(name),
runing_(false),
url_(url) {
- RenderThreadImpl::current()->AddRoute(route_id_, this);
+ RenderThreadImpl::current()->AddSharedWorkerRoute(route_id_, this);
impl_ = blink::WebSharedWorker::create(this);
worker_devtools_agent_.reset(
new SharedWorkerDevToolsAgent(route_id, impl_));
@@ -35,7 +35,7 @@ EmbeddedSharedWorkerStub::EmbeddedSharedWorkerStub(
}
EmbeddedSharedWorkerStub::~EmbeddedSharedWorkerStub() {
- RenderThreadImpl::current()->RemoveRoute(route_id_);
+ RenderThreadImpl::current()->RemoveSharedWorkerRoute(route_id_);
}
bool EmbeddedSharedWorkerStub::OnMessageReceived(
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698