Bug 1457867, remove useless virtual, r=bustage, CLOSED TREE
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Fri, 04 May 2018 20:01:32 +0300
changeset 473070 d577b7168a13aa32e1437b5a9e57c718c59302ea
parent 473036 91ba35aee7500d305a5fb1446281268ef019d02c
child 473071 f5a77c38b07238dcfd5ef95582e6ef185af98686
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage, CLOSED
bugs1457867
milestone61.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 1457867, remove useless virtual, r=bustage, CLOSED TREE
dom/events/DOMEventTargetHelper.h
--- a/dom/events/DOMEventTargetHelper.h
+++ b/dom/events/DOMEventTargetHelper.h
@@ -169,17 +169,17 @@ public:
   //       DOMEventTargetHelper::BindToOwner(aOwner).
   virtual void BindToOwner(nsIGlobalObject* aOwner);
 
   void BindToOwner(nsPIDOMWindowInner* aOwner);
   void BindToOwner(DOMEventTargetHelper* aOther);
 
   virtual void DisconnectFromOwner();
   using EventTarget::GetParentObject;
-  virtual nsIGlobalObject* GetOwnerGlobal() const final
+  nsIGlobalObject* GetOwnerGlobal() const final
   {
     return mParentObject;
   }
   bool HasOrHasHadOwner() { return mHasOrHasHadOwnerWindow; }
 
   virtual void EventListenerAdded(nsAtom* aType) override;
   virtual void EventListenerAdded(const nsAString& aType) override;