| Index: third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp
|
| diff --git a/third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp b/third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp
|
| index ae5af549c848668fdca341598c2ba81e3db2ef9c..eadbca85c266c8d946d34d8dc3ed2d7ddbf5f8de 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp
|
| @@ -27,6 +27,7 @@
|
|
|
| #include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/Document.h"
|
| +#include "core/dom/ExecutionContext.h"
|
|
|
| namespace blink {
|
|
|
| @@ -44,7 +45,7 @@
|
| void SpeechGrammarList::addFromUri(ScriptState* script_state,
|
| const String& src,
|
| double weight) {
|
| - Document* document = ToDocument(script_state->GetExecutionContext());
|
| + Document* document = ToDocument(ExecutionContext::From(script_state));
|
| grammars_.push_back(
|
| SpeechGrammar::Create(document->CompleteURL(src), weight));
|
| }
|
|
|