Bug 1444580: Mark nsIDocument::Dispatch final. r=smaug draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Sat, 10 Mar 2018 05:46:26 +0100
changeset 765776 df89bbcb6e91a4408081b3308e9b061d4e8e7bc5
parent 765775 e175d6a95fd5e49f5337e4d57201e0b009325e7c
child 765777 c5c7e6a0324229288f7fbe8a6a730675f0b3142a
push id102161
push userbmo:emilio@crisal.io
push dateSat, 10 Mar 2018 07:39:34 +0000
reviewerssmaug
bugs1444580
milestone60.0a1
Bug 1444580: Mark nsIDocument::Dispatch final. r=smaug MozReview-Commit-ID: 1xAE0WF8IFN
dom/base/nsIDocument.h
--- a/dom/base/nsIDocument.h
+++ b/dom/base/nsIDocument.h
@@ -3205,18 +3205,18 @@ public:
     return !mIntersectionObservers.IsEmpty();
   }
 
   void UpdateIntersectionObservations();
   void ScheduleIntersectionObserverNotification();
   void NotifyIntersectionObservers();
 
   // Dispatch a runnable related to the document.
-  virtual nsresult Dispatch(mozilla::TaskCategory aCategory,
-                            already_AddRefed<nsIRunnable>&& aRunnable) override;
+  nsresult Dispatch(mozilla::TaskCategory aCategory,
+                    already_AddRefed<nsIRunnable>&& aRunnable) final;
 
   virtual nsISerialEventTarget*
   EventTargetFor(mozilla::TaskCategory aCategory) const override;
 
   virtual mozilla::AbstractThread*
   AbstractMainThreadFor(mozilla::TaskCategory aCategory) override;
 
   // The URLs passed to these functions should match what