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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.cpp

Issue 2815313002: Reland of Move ScriptState::GetExecutionContext (Part 5) (Closed)
Patch Set: 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/modules/webaudio/AudioWorkletGlobalScope.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.cpp b/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.cpp
index 8cb529b3e123a9dfeae9275a29cd4c47b426ba9f..f93e04a0ede2c8586853dc2b3c287c3a76f0b1c5 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioWorkletGlobalScope.cpp
@@ -174,7 +174,7 @@
// V8 operation happens here to make the AudioWorkletProcessor class a thin
// wrapper of v8::Object instance.
V8ScriptRunner::CallFunction(
- definition->ProcessLocal(isolate), script_state->GetExecutionContext(),
+ definition->ProcessLocal(isolate), ExecutionContext::From(script_state),
processor->InstanceLocal(isolate), WTF_ARRAY_LENGTH(argv), argv, isolate);
return !block.HasCaught();

Powered by Google App Engine
This is Rietveld 408576698