| 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 569781989f1ffab73ff2ae37aef3a04d98f719ca..9655363482f0b1234d9733d6bd0e387193ce2dff 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
|
| @@ -37,9 +37,8 @@ SpeechGrammar* SpeechGrammar::create(const KURL& src, double weight) {
|
| return new SpeechGrammar(src, weight);
|
| }
|
|
|
| -void SpeechGrammar::setSrc(ExecutionContext* executionContext,
|
| - const String& src) {
|
| - Document* document = toDocument(executionContext);
|
| +void SpeechGrammar::setSrc(ScriptState* scriptState, const String& src) {
|
| + Document* document = toDocument(scriptState->getExecutionContext());
|
| m_src = document->completeURL(src);
|
| }
|
|
|
|
|