| Index: third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| index 07896af90af00783e7e8521ddab9811cb381677c..a1683f798cec3c8b19711aeab5910473549096d7 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| @@ -240,7 +240,7 @@ bool WorkerThread::isCurrentThread()
|
| return m_started && workerBackingThread().backingThread().isCurrentThread();
|
| }
|
|
|
| -void WorkerThread::postTask(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task)
|
| +void WorkerThread::postTask(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task, bool isInstrumented)
|
| {
|
| {
|
| MutexLocker lock(m_threadStateMutex);
|
| @@ -248,7 +248,6 @@ void WorkerThread::postTask(const WebTraceLocation& location, std::unique_ptr<Ex
|
| return;
|
| }
|
|
|
| - bool isInstrumented = !task->taskNameForInstrumentation().isEmpty();
|
| if (isInstrumented) {
|
| DCHECK(isCurrentThread());
|
| InspectorInstrumentation::asyncTaskScheduled(workerGlobalScope(), "Worker task", task.get());
|
|
|