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