| Index: third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
|
| diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
|
| index b9ca7065fb3fd1690ff0497a598261f39b7bb360..521ec13b2d7362ce6b76de37e5b9ea24bc922a48 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechRecognition.cpp
|
| @@ -148,7 +148,7 @@ const AtomicString& SpeechRecognition::interfaceName() const {
|
| }
|
|
|
| ExecutionContext* SpeechRecognition::getExecutionContext() const {
|
| - return ActiveDOMObject::getExecutionContext();
|
| + return SuspendableObject::getExecutionContext();
|
| }
|
|
|
| void SpeechRecognition::contextDestroyed() {
|
| @@ -163,7 +163,7 @@ bool SpeechRecognition::hasPendingActivity() const {
|
|
|
| SpeechRecognition::SpeechRecognition(Page* page, ExecutionContext* context)
|
| : ActiveScriptWrappable(this),
|
| - ActiveDOMObject(context),
|
| + SuspendableObject(context),
|
| m_grammars(SpeechGrammarList::create()), // FIXME: The spec is not clear
|
| // on the default value for the
|
| // grammars attribute.
|
| @@ -186,7 +186,7 @@ DEFINE_TRACE(SpeechRecognition) {
|
| visitor->trace(m_controller);
|
| visitor->trace(m_finalResults);
|
| EventTargetWithInlineData::trace(visitor);
|
| - ActiveDOMObject::trace(visitor);
|
| + SuspendableObject::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|