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

Unified Diff: content/worker/webworker_stub.cc

Issue 7248076: DevTools: add initial support for shared workers debugging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 5 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
Index: content/worker/webworker_stub.cc
diff --git a/content/worker/webworker_stub.cc b/content/worker/webworker_stub.cc
index b7ecd134601dbbb240bed0b55edf875cb39acd7b..f782bb34d027612909cc74bca5ad19719df0953a 100644
--- a/content/worker/webworker_stub.cc
+++ b/content/worker/webworker_stub.cc
@@ -23,7 +23,7 @@ WebWorkerStub::WebWorkerStub(const GURL& url, int route_id,
ALLOW_THIS_IN_INITIALIZER_LIST(impl_(WebWorker::create(client()))),
url_(url),
ALLOW_THIS_IN_INITIALIZER_LIST(worker_devtools_agent_(
- new WorkerDevToolsAgent(route_id, impl_))) {
+ WorkerDevToolsAgent::CreateForDedicatedWorker(route_id, impl_))) {
client()->set_devtools_agent(worker_devtools_agent_.get());
}

Powered by Google App Engine
This is Rietveld 408576698