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

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

Issue 2811863002: Move ScriptState::GetExecutionContext (Part 4) (Closed)
Patch Set: Fix Document.cpp Created 3 years, 8 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 e96d521ecb4d89a9cb7cc41a8dedb3643de9ef67..1b62a30c4026644c90afaad02c5bf8b30a49f08e 100644
--- a/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
+++ b/third_party/WebKit/Source/core/timing/SharedWorkerPerformance.cpp
@@ -60,7 +60,7 @@ SharedWorkerPerformance& SharedWorkerPerformance::From(
double SharedWorkerPerformance::workerStart(ScriptState* script_state,
SharedWorker& shared_worker) {
return SharedWorkerPerformance::From(shared_worker)
- .GetWorkerStart(script_state->GetExecutionContext(), shared_worker);
+ .GetWorkerStart(ExecutionContext::From(script_state), shared_worker);
}
double SharedWorkerPerformance::GetWorkerStart(ExecutionContext* context,

Powered by Google App Engine
This is Rietveld 408576698