Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
index e5b8fe1275a26cfdb4e6d1a2d13602428381fd50..af381ae09a6103e95de04e810478fa7ec019d0d0 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
@@ -170,9 +170,9 @@ WorkerNavigator* WorkerGlobalScope::navigator() const |
return m_navigator.get(); |
} |
-void WorkerGlobalScope::postTask(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task) |
+void WorkerGlobalScope::postTask(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task, const String& taskNameForInstrumentation) |
{ |
- thread()->postTask(location, std::move(task)); |
+ thread()->postTask(location, std::move(task), !taskNameForInstrumentation.isEmpty()); |
} |
void WorkerGlobalScope::clearScript() |