| 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 57cd279e547069b089404beb37528a9e5ea36606..aa3452961fcb45034e71543e4854312a29b21c90 100644
|
| --- a/content/renderer/shared_worker/embedded_shared_worker_stub.cc
|
| +++ b/content/renderer/shared_worker/embedded_shared_worker_stub.cc
|
| @@ -21,16 +21,13 @@
|
| const base::string16& name,
|
| const base::string16& content_security_policy,
|
| blink::WebContentSecurityPolicyType security_policy_type,
|
| - bool pause_on_start,
|
| int route_id)
|
| - : route_id_(route_id), name_(name), runing_(false), url_(url) {
|
| + : route_id_(route_id),
|
| + name_(name),
|
| + runing_(false),
|
| + url_(url) {
|
| RenderThreadImpl::current()->AddSharedWorkerRoute(route_id_, this);
|
| impl_ = blink::WebSharedWorker::create(this);
|
| - if (pause_on_start) {
|
| - // Pause worker context when it starts and wait until either DevTools client
|
| - // is attached or explicit resume notification is received.
|
| - impl_->pauseWorkerContextOnStart();
|
| - }
|
| worker_devtools_agent_.reset(
|
| new SharedWorkerDevToolsAgent(route_id, impl_));
|
| impl_->startWorkerContext(url, name_,
|
|
|