diff --git a/dom/base/nsGlobalWindowInner.h b/dom/base/nsGlobalWindowInner.h index 0f6e8859bd38..476b9f2eec6d 100644 --- a/dom/base/nsGlobalWindowInner.h +++ b/dom/base/nsGlobalWindowInner.h @@ -204,18 +204,19 @@ ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& aCallback, // inner windows belonging to the same outer window, but that's an unimportant // side effect of inheriting PRCList). -class nsGlobalWindowInner : public mozilla::dom::EventTarget, - public nsPIDOMWindowInner, - private nsIDOMWindow, - // NOTE: This interface is private, as it's only - // implemented on chrome windows. - private nsIDOMChromeWindow, - public nsIScriptGlobalObject, - public nsIScriptObjectPrincipal, - public nsSupportsWeakReference, - public nsIInterfaceRequestor, - public PRCListStr, - public nsAPostRefreshObserver +class nsGlobalWindowInner final + : public mozilla::dom::EventTarget + , public nsPIDOMWindowInner + , private nsIDOMWindow + // NOTE: This interface is private, as it's only + // implemented on chrome windows. + , private nsIDOMChromeWindow + , public nsIScriptGlobalObject + , public nsIScriptObjectPrincipal + , public nsSupportsWeakReference + , public nsIInterfaceRequestor + , public PRCListStr + , public nsAPostRefreshObserver { public: typedef mozilla::TimeStamp TimeStamp; diff --git a/dom/base/nsGlobalWindowOuter.h b/dom/base/nsGlobalWindowOuter.h index 23f0a95542a3..2474abf4af26 100644 --- a/dom/base/nsGlobalWindowOuter.h +++ b/dom/base/nsGlobalWindowOuter.h @@ -161,17 +161,18 @@ extern const js::Class OuterWindowProxyClass; // inner windows belonging to the same outer window, but that's an unimportant // side effect of inheriting PRCList). -class nsGlobalWindowOuter : public mozilla::dom::EventTarget, - public nsPIDOMWindowOuter, - private nsIDOMWindow, - // NOTE: This interface is private, as it's only - // implemented on chrome windows. - private nsIDOMChromeWindow, - public nsIScriptGlobalObject, - public nsIScriptObjectPrincipal, - public nsSupportsWeakReference, - public nsIInterfaceRequestor, - public PRCListStr +class nsGlobalWindowOuter final + : public mozilla::dom::EventTarget + , public nsPIDOMWindowOuter + , private nsIDOMWindow + // NOTE: This interface is private, as it's only + // implemented on chrome windows. + , private nsIDOMChromeWindow + , public nsIScriptGlobalObject + , public nsIScriptObjectPrincipal + , public nsSupportsWeakReference + , public nsIInterfaceRequestor + , public PRCListStr { public: typedef nsDataHashtable OuterWindowByIdTable;