From 2fd3ab182a202fe77af1d50042c2b68261797d25 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Fri, 15 May 2015 11:57:03 -0700 Subject: [PATCH] Bug 1162699 followup: Add 'override' keyword to overriding methods on FakeSynthCallback. rs=ehsan --- dom/media/webspeech/synth/test/nsFakeSynthServices.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dom/media/webspeech/synth/test/nsFakeSynthServices.cpp b/dom/media/webspeech/synth/test/nsFakeSynthServices.cpp index 478508b4b56e..a997cc111756 100644 --- a/dom/media/webspeech/synth/test/nsFakeSynthServices.cpp +++ b/dom/media/webspeech/synth/test/nsFakeSynthServices.cpp @@ -64,7 +64,7 @@ public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(FakeSynthCallback, nsISpeechTaskCallback) - NS_IMETHOD OnPause() + NS_IMETHOD OnPause() override { if (mTask) { mTask->DispatchPause(1.5, 1); @@ -73,7 +73,7 @@ public: return NS_OK; } - NS_IMETHOD OnResume() + NS_IMETHOD OnResume() override { if (mTask) { mTask->DispatchResume(1.5, 1); @@ -82,7 +82,7 @@ public: return NS_OK; } - NS_IMETHOD OnCancel() + NS_IMETHOD OnCancel() override { if (mTask) { mTask->DispatchEnd(1.5, 1);