| Index: content/browser/service_worker/embedded_worker_instance.cc
|
| diff --git a/content/browser/service_worker/embedded_worker_instance.cc b/content/browser/service_worker/embedded_worker_instance.cc
|
| index c22c5030d7589d0203d631a9cc53b3e3f32f0481..26652dff2180cb833fd2aa50905b2a1d48c7133f 100644
|
| --- a/content/browser/service_worker/embedded_worker_instance.cc
|
| +++ b/content/browser/service_worker/embedded_worker_instance.cc
|
| @@ -45,19 +45,6 @@ void NotifyWorkerReadyForInspection(int worker_process_id,
|
| worker_process_id, worker_route_id);
|
| }
|
|
|
| -void NotifyWorkerContextStarted(int worker_process_id, int worker_route_id) {
|
| - if (!BrowserThread::CurrentlyOn(BrowserThread::UI)) {
|
| - BrowserThread::PostTask(
|
| - BrowserThread::UI,
|
| - FROM_HERE,
|
| - base::Bind(
|
| - NotifyWorkerContextStarted, worker_process_id, worker_route_id));
|
| - return;
|
| - }
|
| - EmbeddedWorkerDevToolsManager::GetInstance()->WorkerContextStarted(
|
| - worker_process_id, worker_route_id);
|
| -}
|
| -
|
| void NotifyWorkerDestroyed(int worker_process_id, int worker_route_id) {
|
| if (!BrowserThread::CurrentlyOn(BrowserThread::UI)) {
|
| BrowserThread::PostTask(
|
| @@ -271,8 +258,6 @@ void EmbeddedWorkerInstance::OnReadyForInspection() {
|
|
|
| void EmbeddedWorkerInstance::OnScriptLoaded(int thread_id) {
|
| thread_id_ = thread_id;
|
| - if (worker_devtools_agent_route_id_ != MSG_ROUTING_NONE)
|
| - NotifyWorkerContextStarted(process_id_, worker_devtools_agent_route_id_);
|
| }
|
|
|
| void EmbeddedWorkerInstance::OnScriptLoadFailed() {
|
|
|