Index: Source/modules/speech/SpeechSynthesisUtterance.h |
diff --git a/Source/modules/speech/SpeechSynthesisUtterance.h b/Source/modules/speech/SpeechSynthesisUtterance.h |
index 555f335a26dc0fed28c02a9ae163aaa19c12dd3e..f381ccbb0308bb9253d2a1feefee38f38d0f483d 100644 |
--- a/Source/modules/speech/SpeechSynthesisUtterance.h |
+++ b/Source/modules/speech/SpeechSynthesisUtterance.h |
@@ -36,12 +36,12 @@ |
namespace WebCore { |
-class SpeechSynthesisUtterance : public PlatformSpeechSynthesisUtteranceClient, public ScriptWrappable, public RefCounted<SpeechSynthesisUtterance>, public ContextLifecycleObserver, public EventTargetWithInlineData { |
+class SpeechSynthesisUtterance FINAL : public PlatformSpeechSynthesisUtteranceClient, public ScriptWrappable, public RefCounted<SpeechSynthesisUtterance>, public ContextLifecycleObserver, public EventTargetWithInlineData { |
REFCOUNTED_EVENT_TARGET(SpeechSynthesisUtterance); |
public: |
static PassRefPtr<SpeechSynthesisUtterance> create(ExecutionContext*, const String&); |
- ~SpeechSynthesisUtterance(); |
+ virtual ~SpeechSynthesisUtterance(); |
const String& text() const { return m_platformUtterance->text(); } |
void setText(const String& text) { m_platformUtterance->setText(text); } |
@@ -72,7 +72,7 @@ public: |
DEFINE_ATTRIBUTE_EVENT_LISTENER(mark); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(boundary); |
- virtual ExecutionContext* executionContext() const; |
+ virtual ExecutionContext* executionContext() const OVERRIDE; |
PlatformSpeechSynthesisUtterance* platformUtterance() const { return m_platformUtterance.get(); } |