Bug 1146349 - Mark SynthesizedEventObserver::Observe() as override
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 15 Apr 2015 12:04:12 -0400
changeset 269201 a3be7dbf862b63011e203728aa63bfd8ca3a944d
parent 269200 c20a148abbb08bfb8e57eb89ae1b997438184522
child 269202 bd9cb02d4da8d2c047fe2b7c588b7cf9b73358f3
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1146349
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1146349 - Mark SynthesizedEventObserver::Observe() as override
dom/ipc/TabParent.cpp
--- a/dom/ipc/TabParent.cpp
+++ b/dom/ipc/TabParent.cpp
@@ -1339,17 +1339,17 @@ public:
     : mTabParent(aTabParent)
     , mObserverId(aObserverId)
   {
     MOZ_ASSERT(mTabParent);
   }
 
   NS_IMETHODIMP Observe(nsISupports* aSubject,
                         const char* aTopic,
-                        const char16_t* aData)
+                        const char16_t* aData) override
   {
     if (!mTabParent) {
       // We already sent the notification
       return NS_OK;
     }
 
     if (!mTabParent->SendNativeSynthesisResponse(mObserverId, nsCString(aTopic))) {
       NS_WARNING("Unable to send native event synthesization response!");