Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp

Issue 1728803002: Rename WorkerThread to WorkerScript Base URL: https://chromium.googlesource.com/chromium/src.git@workerscript-controller
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698