| Index: Source/modules/speech/SpeechSynthesis.cpp
|
| diff --git a/Source/modules/speech/SpeechSynthesis.cpp b/Source/modules/speech/SpeechSynthesis.cpp
|
| index 5c60959595bc82f072253e395b84043edff84710..4bde0624e4fb2445a9678fcc189df7d38d666f1b 100644
|
| --- a/Source/modules/speech/SpeechSynthesis.cpp
|
| +++ b/Source/modules/speech/SpeechSynthesis.cpp
|
| @@ -44,7 +44,7 @@ PassRefPtrWillBeRawPtr<SpeechSynthesis> SpeechSynthesis::create(ExecutionContext
|
| SpeechSynthesis::SpeechSynthesis(ExecutionContext* context)
|
| : ContextLifecycleObserver(context)
|
| , m_platformSpeechSynthesizer(PlatformSpeechSynthesizer::create(this))
|
| - , m_currentSpeechUtterance(0)
|
| + , m_currentSpeechUtterance(nullptr)
|
| , m_isPaused(false)
|
| {
|
| ScriptWrappable::init(this);
|
| @@ -130,7 +130,7 @@ void SpeechSynthesis::cancel()
|
| RefPtrWillBeMember<SpeechSynthesisUtterance> current = m_currentSpeechUtterance;
|
| m_utteranceQueue.clear();
|
| m_platformSpeechSynthesizer->cancel();
|
| - current = 0;
|
| + current = nullptr;
|
|
|
| // The platform should have called back immediately and cleared the current utterance.
|
| ASSERT(!m_currentSpeechUtterance);
|
| @@ -159,7 +159,7 @@ void SpeechSynthesis::handleSpeakingCompleted(SpeechSynthesisUtterance* utteranc
|
| {
|
| ASSERT(utterance);
|
| ASSERT(m_currentSpeechUtterance);
|
| - m_currentSpeechUtterance = 0;
|
| + m_currentSpeechUtterance = nullptr;
|
|
|
| fireEvent(errorOccurred ? EventTypeNames::error : EventTypeNames::end, utterance, 0, String());
|
|
|
|
|