Bug 1228456 - add 'override' to the Cancel() method of a nsICancelableRunnable, rs=me
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 07 Jan 2016 18:45:09 +0000
changeset 314174 3129da8cf85031e709649c4e576177d4dbc9cb9a
parent 314173 372554a0019f752e3e180356cc2964561859c59b
child 314175 3343b6e3ece2db64b74d092e4345536c8b374b10
push id5703
push userraliiev@mozilla.com
push dateMon, 07 Mar 2016 14:18:41 +0000
treeherdermozilla-beta@31e373ad5b5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1228456
milestone46.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 1228456 - add 'override' to the Cancel() method of a nsICancelableRunnable, rs=me
dom/workers/WorkerPrivate.cpp
--- a/dom/workers/WorkerPrivate.cpp
+++ b/dom/workers/WorkerPrivate.cpp
@@ -1620,17 +1620,17 @@ private:
 
   virtual bool
   WorkerRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate) override
   {
     return aWorkerPrivate->ConnectMessagePort(aCx, mPortIdentifier);
   }
 
   NS_IMETHOD
-  Cancel()
+  Cancel() override
   {
     MessagePort::ForceClose(mPortIdentifier);
     return WorkerRunnable::Cancel();
   }
 };
 
 class DummyRunnable final
   : public WorkerRunnable