| Index: third_party/WebKit/Source/modules/speech/SpeechRecognition.h
|
| diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognition.h b/third_party/WebKit/Source/modules/speech/SpeechRecognition.h
|
| index 8cb1a53d0ec75473bc3196c8f7f10cc979830a6a..7982e58ef912c1dea3011d2a7b0b7b8c3241e709 100644
|
| --- a/third_party/WebKit/Source/modules/speech/SpeechRecognition.h
|
| +++ b/third_party/WebKit/Source/modules/speech/SpeechRecognition.h
|
| @@ -27,7 +27,7 @@
|
| #define SpeechRecognition_h
|
|
|
| #include "bindings/core/v8/ActiveScriptWrappable.h"
|
| -#include "core/dom/SuspendableObject.h"
|
| +#include "core/dom/ContextLifecycleObserver.h"
|
| #include "modules/EventTargetModules.h"
|
| #include "modules/ModulesExport.h"
|
| #include "modules/speech/SpeechGrammarList.h"
|
| @@ -49,7 +49,7 @@ class SpeechRecognitionError;
|
| class MODULES_EXPORT SpeechRecognition final
|
| : public EventTargetWithInlineData,
|
| public ActiveScriptWrappable<SpeechRecognition>,
|
| - public SuspendableObject {
|
| + public ContextLifecycleObserver {
|
| USING_GARBAGE_COLLECTED_MIXIN(SpeechRecognition);
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| @@ -105,7 +105,7 @@ class MODULES_EXPORT SpeechRecognition final
|
| // ScriptWrappable
|
| bool hasPendingActivity() const final;
|
|
|
| - // SuspendableObject
|
| + // ContextLifecycleObserver
|
| void contextDestroyed() override;
|
|
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(audiostart);
|
|
|