Index: third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
diff --git a/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp b/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
index bb2de9aab82707d93322cd38b028f0ebbcb54aae..5831f43217d7f387f579867089997983030c8ce6 100644 |
--- a/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
+++ b/third_party/WebKit/Source/modules/speech/SpeechSynthesis.cpp |
@@ -49,15 +49,15 @@ void SpeechSynthesis::setPlatformSynthesizer(PlatformSpeechSynthesizer* synthesi |
m_platformSpeechSynthesizer = synthesizer; |
} |
-ExecutionContext* SpeechSynthesis::executionContext() const |
+ExecutionContext* SpeechSynthesis::getExecutionContext() const |
{ |
- return ContextLifecycleObserver::executionContext(); |
+ return ContextLifecycleObserver::getExecutionContext(); |
} |
void SpeechSynthesis::voicesDidChange() |
{ |
m_voiceList.clear(); |
- if (executionContext() && !executionContext()->activeDOMObjectsAreStopped()) |
+ if (getExecutionContext() && !getExecutionContext()->activeDOMObjectsAreStopped()) |
dispatchEvent(Event::create(EventTypeNames::voiceschanged)); |
} |
@@ -139,7 +139,7 @@ void SpeechSynthesis::resume() |
void SpeechSynthesis::fireEvent(const AtomicString& type, SpeechSynthesisUtterance* utterance, unsigned long charIndex, const String& name) |
{ |
- if (executionContext() && !executionContext()->activeDOMObjectsAreStopped()) |
+ if (getExecutionContext() && !getExecutionContext()->activeDOMObjectsAreStopped()) |
utterance->dispatchEvent(SpeechSynthesisEvent::create(type, utterance, charIndex, (currentTime() - utterance->startTime()), name)); |
} |