Bug 1056410 - s/final/MOZ_FINAL. a=bustage
authorRyan VanderMeulen <ryanvm@gmail.com>
Mon, 18 May 2015 22:28:54 -0400
changeset 238410 54ea4f5d43c39469b28aa607e66a44c5a3fd8a96
parent 238409 d50110422703de955c36e03e93e007e4d4b5c19e
child 238411 87a7b535415f4d1dee87d70ef5e8790501b63a4e
push id611
push userryanvm@gmail.com
push dateTue, 19 May 2015 02:29:14 +0000
treeherdermozilla-b2g37_v2_2@54ea4f5d43c3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1056410
milestone37.0
Bug 1056410 - s/final/MOZ_FINAL. a=bustage
js/xpconnect/src/xpcprivate.h
--- a/js/xpconnect/src/xpcprivate.h
+++ b/js/xpconnect/src/xpcprivate.h
@@ -239,20 +239,20 @@ static inline bool IS_WN_REFLECTOR(JSObj
 ****************************************************************************
 ***************************************************************************/
 
 // We have a general rule internally that getters that return addref'd interface
 // pointer generally do so using an 'out' parm. When interface pointers are
 // returned as function call result values they are not addref'd. Exceptions
 // to this rule are noted explicitly.
 
-class nsXPConnect final : public nsIXPConnect,
-                          public nsIThreadObserver,
-                          public nsSupportsWeakReference,
-                          public nsIJSRuntimeService
+class nsXPConnect MOZ_FINAL : public nsIXPConnect,
+                              public nsIThreadObserver,
+                              public nsSupportsWeakReference,
+                              public nsIJSRuntimeService
 {
 public:
     // all the interface method declarations...
     NS_DECL_ISUPPORTS
     NS_DECL_NSIXPCONNECT
     NS_DECL_NSITHREADOBSERVER
     NS_DECL_NSIJSRUNTIMESERVICE
 
@@ -1971,17 +1971,17 @@ private:
 };
 
 void* xpc_GetJSPrivate(JSObject* obj);
 
 /***************************************************************************/
 // XPCWrappedNative the wrapper around one instance of a native xpcom object
 // to be used from JavaScript.
 
-class XPCWrappedNative final : public nsIXPConnectWrappedNative
+class XPCWrappedNative MOZ_FINAL : public nsIXPConnectWrappedNative
 {
 public:
     NS_DECL_CYCLE_COLLECTING_ISUPPORTS
     NS_DECL_NSIXPCONNECTJSOBJECTHOLDER
     NS_DECL_NSIXPCONNECTWRAPPEDNATIVE
 
     NS_DECL_CYCLE_COLLECTION_CLASS(XPCWrappedNative)
 
@@ -2285,17 +2285,17 @@ public:
 
 NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPCWrappedJSClass,
                               NS_IXPCONNECT_WRAPPED_JS_CLASS_IID)
 
 /*************************/
 // nsXPCWrappedJSClass represents the sharable factored out common code and
 // data for nsXPCWrappedJS instances for the same interface type.
 
-class nsXPCWrappedJSClass final : public nsIXPCWrappedJSClass
+class nsXPCWrappedJSClass MOZ_FINAL : public nsIXPCWrappedJSClass
 {
     // all the interface method declarations...
     NS_DECL_ISUPPORTS
     NS_IMETHOD DebugDump(int16_t depth);
 public:
 
     static already_AddRefed<nsXPCWrappedJSClass>
     GetNewOrUsed(JSContext* cx,