| 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 bcd4ee3b5fd31c4614764ae1bb7b29d7a0888b45..efc49cae4eaee79b46a4139e69277ffffee2999a 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechGrammarList.cpp
|
| @@ -25,6 +25,7 @@
|
|
|
| #include "modules/speech/SpeechGrammarList.h"
|
|
|
| +#include "bindings/core/v8/ScriptState.h"
|
| #include "core/dom/Document.h"
|
|
|
| namespace blink {
|
| @@ -40,10 +41,10 @@ SpeechGrammar* SpeechGrammarList::item(unsigned index) const {
|
| return m_grammars[index];
|
| }
|
|
|
| -void SpeechGrammarList::addFromUri(ExecutionContext* executionContext,
|
| +void SpeechGrammarList::addFromUri(ScriptState* scriptState,
|
| const String& src,
|
| double weight) {
|
| - Document* document = toDocument(executionContext);
|
| + Document* document = toDocument(scriptState->getExecutionContext());
|
| m_grammars.append(SpeechGrammar::create(document->completeURL(src), weight));
|
| }
|
|
|
|
|