| Index: third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
|
| diff --git a/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp b/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
|
| index c24dbc2363f33e656e6e626f7f29142dce160f34..681ceb7049f4ca9f1ee82fa337b9aebdebd330f8 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
|
| @@ -26,6 +26,7 @@
|
| #include "modules/speech/SpeechGrammar.h"
|
|
|
| #include "core/dom/Document.h"
|
| +#include "core/dom/ExecutionContext.h"
|
|
|
| namespace blink {
|
|
|
| @@ -38,7 +39,7 @@
|
| }
|
|
|
| void SpeechGrammar::setSrc(ScriptState* script_state, const String& src) {
|
| - Document* document = ToDocument(script_state->GetExecutionContext());
|
| + Document* document = ToDocument(ExecutionContext::From(script_state));
|
| src_ = document->CompleteURL(src);
|
| }
|
|
|
|
|