Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1345)

Unified Diff: Source/modules/speech/SpeechSynthesisUtterance.h

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(); }
« no previous file with comments | « Source/modules/speech/SpeechSynthesisEvent.h ('k') | Source/modules/speech/testing/PlatformSpeechSynthesizerMock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698