Index: third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.cpp |
diff --git a/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.cpp b/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.cpp |
index 68a83394c177ef1040d35334e8b3ffc56733ebd4..f7c3d31d420e52822d1dc240254128bc72c0e38e 100644 |
--- a/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.cpp |
+++ b/third_party/WebKit/Source/modules/speech/SpeechSynthesisUtterance.cpp |
@@ -37,17 +37,13 @@ SpeechSynthesisUtterance* SpeechSynthesisUtterance::create( |
SpeechSynthesisUtterance::SpeechSynthesisUtterance(ExecutionContext* context, |
const String& text) |
- : m_executionContext(context), |
+ : ContextClient(context), |
m_platformUtterance(PlatformSpeechSynthesisUtterance::create(this)) { |
m_platformUtterance->setText(text); |
} |
SpeechSynthesisUtterance::~SpeechSynthesisUtterance() {} |
-ExecutionContext* SpeechSynthesisUtterance::getExecutionContext() const { |
- return m_executionContext; |
-} |
- |
const AtomicString& SpeechSynthesisUtterance::interfaceName() const { |
return EventTargetNames::SpeechSynthesisUtterance; |
} |
@@ -67,9 +63,9 @@ void SpeechSynthesisUtterance::setVoice(SpeechSynthesisVoice* voice) { |
} |
DEFINE_TRACE(SpeechSynthesisUtterance) { |
- visitor->trace(m_executionContext); |
visitor->trace(m_platformUtterance); |
visitor->trace(m_voice); |
+ ContextClient::trace(visitor); |
EventTargetWithInlineData::trace(visitor); |
} |