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

Unified Diff: third_party/WebKit/Source/modules/mediasource/URLMediaSource.cpp

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more 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/modules/mediasource/URLMediaSource.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/URLMediaSource.cpp b/third_party/WebKit/Source/modules/mediasource/URLMediaSource.cpp
index 3aae6826866c9b26f448e713f97f8db2c9c0e47d..25a5149eb85a653be7abf74d8536284770d7b9a0 100644
--- a/third_party/WebKit/Source/modules/mediasource/URLMediaSource.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/URLMediaSource.cpp
@@ -36,11 +36,12 @@
namespace blink {
-String URLMediaSource::createObjectURL(ExecutionContext* executionContext,
+String URLMediaSource::createObjectURL(ScriptState* scriptState,
MediaSource* source) {
// Since WebWorkers cannot obtain MediaSource objects, we should be on the
// main thread.
DCHECK(isMainThread());
+ ExecutionContext* executionContext = scriptState->getExecutionContext();
DCHECK(executionContext);
DCHECK(source);

Powered by Google App Engine
This is Rietveld 408576698