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

Unified Diff: third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp

Issue 2616923002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Fix errors 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/timing/SharedWorkerPerformance.cpp
diff --git a/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp b/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
index 4752e699140e08d7a3797db03dbbe138ef105e27..b25d2a3323b825c6ea792b2faa227b13ceda7adc 100644
--- a/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
+++ b/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
@@ -29,6 +29,7 @@
#include "core/timing/SharedWorkerPerformance.h"
+#include "bindings/core/v8/ScriptState.h"
#include "core/dom/Document.h"
#include "core/dom/ExecutionContext.h"
#include "core/loader/DocumentLoadTiming.h"
@@ -55,10 +56,10 @@ SharedWorkerPerformance& SharedWorkerPerformance::from(
return *supplement;
}
-double SharedWorkerPerformance::workerStart(ExecutionContext* context,
+double SharedWorkerPerformance::workerStart(ScriptState* scriptState,
SharedWorker& sharedWorker) {
return SharedWorkerPerformance::from(sharedWorker)
- .getWorkerStart(context, sharedWorker);
+ .getWorkerStart(scriptState->getExecutionContext(), sharedWorker);
}
double SharedWorkerPerformance::getWorkerStart(ExecutionContext* context,

Powered by Google App Engine
This is Rietveld 408576698