| Index: third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.h
|
| diff --git a/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.h b/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.h
|
| index 1d8a2397954bb2221fb9b16268a85e75759d7e7c..5f6bbe84faac4005612c52f0ef2410d9d6efefa6 100644
|
| --- a/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.h
|
| +++ b/third_party/WebKit/Source/modules/speech/DOMWindowSpeechSynthesis.h
|
| @@ -26,7 +26,6 @@
|
| #ifndef DOMWindowSpeechSynthesis_h
|
| #define DOMWindowSpeechSynthesis_h
|
|
|
| -#include "core/dom/ContextLifecycleObserver.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "modules/ModulesExport.h"
|
| #include "modules/speech/SpeechSynthesis.h"
|
| @@ -35,16 +34,15 @@
|
|
|
| namespace blink {
|
|
|
| -class DOMWindow;
|
| +class ScriptState;
|
|
|
| class MODULES_EXPORT DOMWindowSpeechSynthesis final
|
| : public GarbageCollected<DOMWindowSpeechSynthesis>,
|
| - public Supplement<LocalDOMWindow>,
|
| - public ContextClient {
|
| + public Supplement<LocalDOMWindow> {
|
| USING_GARBAGE_COLLECTED_MIXIN(DOMWindowSpeechSynthesis);
|
|
|
| public:
|
| - static SpeechSynthesis* speechSynthesis(DOMWindow&);
|
| + static SpeechSynthesis* speechSynthesis(ScriptState*, DOMWindow&);
|
| static DOMWindowSpeechSynthesis& from(LocalDOMWindow&);
|
|
|
| DECLARE_TRACE();
|
| @@ -52,7 +50,7 @@ class MODULES_EXPORT DOMWindowSpeechSynthesis final
|
| private:
|
| explicit DOMWindowSpeechSynthesis(LocalDOMWindow&);
|
|
|
| - SpeechSynthesis* speechSynthesis();
|
| + SpeechSynthesis* speechSynthesis(ScriptState*);
|
| static const char* supplementName();
|
|
|
| Member<SpeechSynthesis> m_speechSynthesis;
|
|
|