Index: Source/modules/speech/SpeechSynthesisUtterance.cpp |
diff --git a/Source/modules/speech/SpeechSynthesisUtterance.cpp b/Source/modules/speech/SpeechSynthesisUtterance.cpp |
index b19710f4d0ea9919346eb728867984a9004e7d4f..c394a3c166e749c6234cfe82152e4ab12cefa47e 100644 |
--- a/Source/modules/speech/SpeechSynthesisUtterance.cpp |
+++ b/Source/modules/speech/SpeechSynthesisUtterance.cpp |
@@ -34,7 +34,7 @@ PassRefPtr<SpeechSynthesisUtterance> SpeechSynthesisUtterance::create(ScriptExec |
} |
SpeechSynthesisUtterance::SpeechSynthesisUtterance(ScriptExecutionContext* context, const String& text) |
- : ContextDestructionObserver(context) |
+ : ContextLifecycleObserver(context) |
, m_platformUtterance(PlatformSpeechSynthesisUtterance::create(this)) |
{ |
ScriptWrappable::init(this); |
@@ -48,7 +48,7 @@ SpeechSynthesisUtterance::~SpeechSynthesisUtterance() |
ScriptExecutionContext* SpeechSynthesisUtterance::scriptExecutionContext() const |
{ |
- return ContextDestructionObserver::scriptExecutionContext(); |
+ return ContextLifecycleObserver::scriptExecutionContext(); |
} |
const AtomicString& SpeechSynthesisUtterance::interfaceName() const |