Bug 1154076 followup: Mark ConsoleRunnable::Run() as override. rs=ehsan
authorDaniel Holbert <dholbert@cs.stanford.edu>
Wed, 15 Apr 2015 10:05:40 -0700
changeset 258274 473627b1b00284432f504392472a16445b2b572c
parent 258273 e2fd54cbb309f69bf9d216f5d165933ec2ce5ab5
child 258275 22d78dbf4b3abcd971c45dd1d359e80c133b8c59
push id8007
push userraliiev@mozilla.com
push dateMon, 11 May 2015 19:23:16 +0000
treeherdermozilla-aurora@e2ce1aac996e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1154076
milestone40.0a1
Bug 1154076 followup: Mark ConsoleRunnable::Run() as override. rs=ehsan
dom/base/Console.cpp
--- a/dom/base/Console.cpp
+++ b/dom/base/Console.cpp
@@ -303,17 +303,17 @@ public:
   virtual bool Notify(JSContext* aCx, workers::Status aStatus) override
   {
     // We don't care about the notification. We just want to keep the
     // mWorkerPrivate alive.
     return true;
   }
 
 private:
-  NS_IMETHOD Run()
+  NS_IMETHOD Run() override
   {
     AssertIsOnMainThread();
 
     // Walk up to our containing page
     WorkerPrivate* wp = mWorkerPrivate;
     while (wp->GetParent()) {
       wp = wp->GetParent();
     }