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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThread.cpp

Issue 2649923007: Revert of Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: Created 3 years, 11 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/workers/WorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
index 05ce373b41ae40cd28096e9b21ad9b0bc3344524..12efbdd58b1ef6f3b9036a9e83bd9988655bba43 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
@@ -451,7 +451,6 @@
bool heapLimitIncreasedForDebugging =
startupData->m_workerV8Settings.m_heapLimitMode ==
WorkerV8Settings::HeapLimitMode::IncreasedForDebugging;
- bool inspectorNetworkCapability = startupData->m_inspectorNetworkCapability;
{
MutexLocker lock(m_threadStateMutex);
@@ -470,8 +469,7 @@
m_consoleMessageStorage = new ConsoleMessageStorage();
m_globalScope = createWorkerGlobalScope(std::move(startupData));
m_workerReportingProxy.didCreateWorkerGlobalScope(globalScope());
- m_workerInspectorController =
- WorkerInspectorController::create(this, inspectorNetworkCapability);
+ m_workerInspectorController = WorkerInspectorController::create(this);
// TODO(nhiroki): Handle a case where the script controller fails to
// initialize the context.

Powered by Google App Engine
This is Rietveld 408576698