Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| index f34ca951d8c1637c5deef9aa5b24dc863f66f401..8c0d43a8649a8d737b36d54a469a554b5be5330a 100644 |
| --- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| +++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| @@ -21,7 +21,7 @@ |
| #include "core/layout/LayoutObject.h" |
| #include "core/page/Page.h" |
| #include "core/paint/PaintLayer.h" |
| -#include "core/workers/WorkerThread.h" |
| +#include "core/workers/WorkerScript.h" |
| #include "core/xmlhttprequest/XMLHttpRequest.h" |
| #include "platform/JSONValues.h" |
| #include "platform/TracedValue.h" |
| @@ -773,12 +773,12 @@ PassOwnPtr<TracedValue> InspectorTimeStampEvent::data(ExecutionContext* context, |
| return value.release(); |
| } |
| -PassOwnPtr<TracedValue> InspectorTracingSessionIdForWorkerEvent::data(const String& sessionId, const String& workerId, WorkerThread* workerThread) |
| +PassOwnPtr<TracedValue> InspectorTracingSessionIdForWorkerEvent::data(const String& sessionId, const String& workerId, WorkerScript* workerScript) |
| { |
| OwnPtr<TracedValue> value = TracedValue::create(); |
| value->setString("sessionId", sessionId); |
| value->setString("workerId", workerId); |
| - value->setDouble("workerThreadId", workerThread->platformThreadId()); |
| + value->setDouble("workerScriptId", workerScript->platformThreadId()); |
|
kinuko
2016/02/24 12:54:51
We're setting platform thread ID here, workerScrip
|
| return value.release(); |
| } |