Index: third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp |
diff --git a/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp b/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp |
index ced3d516f0a0b1f6195bf8c2886eeb45a3fc2518..f0f337c432f10dd21c324c539310a73be11c11e3 100644 |
--- a/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp |
+++ b/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.cpp |
@@ -31,7 +31,6 @@ |
#include "modules/speech/DOMWindowSpeechSynthesis.h" |
#include "bindings/core/v8/ScriptState.h" |
-#include "core/dom/ExecutionContext.h" |
#include "core/frame/LocalDOMWindow.h" |
#include "core/frame/LocalFrame.h" |
#include "platform/wtf/PassRefPtr.h" |
@@ -68,7 +67,7 @@ SpeechSynthesis* DOMWindowSpeechSynthesis::speechSynthesis( |
ScriptState* script_state) { |
if (!speech_synthesis_) { |
speech_synthesis_ = |
- SpeechSynthesis::Create(ExecutionContext::From(script_state)); |
+ SpeechSynthesis::Create(script_state->GetExecutionContext()); |
} |
return speech_synthesis_; |
} |