Bug 1290587, part 1 - Fix style for XPCNativeSetKey. r=mrbkap
authorAndrew McCreight <continuation@gmail.com>
Fri, 29 Jul 2016 10:35:49 -0700
changeset 395268 59d6235922282335a5a5147890c3089014fec937
parent 395267 df0e932cac3a403d8660997d701f8edc49a99c9e
child 395269 bcf7690fc6570316fb46e5b9d08d9c1b86b4022d
push id24732
push userbmo:gps@mozilla.com
push dateMon, 01 Aug 2016 21:50:09 +0000
reviewersmrbkap
bugs1290587
milestone50.0a1
Bug 1290587, part 1 - Fix style for XPCNativeSetKey. r=mrbkap MozReview-Commit-ID: 4bsItyOAbpN
js/xpconnect/src/xpcprivate.h
--- a/js/xpconnect/src/xpcprivate.h
+++ b/js/xpconnect/src/xpcprivate.h
@@ -1286,32 +1286,32 @@ private:
 };
 
 /***************************************************************************/
 // XPCNativeSetKey is used to key a XPCNativeSet in a NativeSetMap.
 
 class XPCNativeSetKey final
 {
 public:
-    explicit XPCNativeSetKey(XPCNativeSet*       BaseSet  = nullptr,
-                             XPCNativeInterface* Addition = nullptr,
-                             uint16_t            Position = 0)
-        : mBaseSet(BaseSet), mAddition(Addition), mPosition(Position) {}
+    explicit XPCNativeSetKey(XPCNativeSet* baseSet = nullptr,
+                             XPCNativeInterface* addition = nullptr,
+                             uint16_t position = 0)
+        : mBaseSet(baseSet), mAddition(addition), mPosition(position) {}
     ~XPCNativeSetKey() {}
 
-    XPCNativeSet*           GetBaseSet()  const {return mBaseSet;}
-    XPCNativeInterface*     GetAddition() const {return mAddition;}
-    uint16_t                GetPosition() const {return mPosition;}
+    XPCNativeSet* GetBaseSet() const {return mBaseSet;}
+    XPCNativeInterface* GetAddition() const {return mAddition;}
+    uint16_t GetPosition() const {return mPosition;}
 
     // Allow shallow copy
 
 private:
-    XPCNativeSet*           mBaseSet;
-    XPCNativeInterface*     mAddition;
-    uint16_t                mPosition;
+    XPCNativeSet* mBaseSet;
+    XPCNativeInterface* mAddition;
+    uint16_t mPosition;
 };
 
 /***************************************************************************/
 // XPCNativeSet represents an ordered collection of XPCNativeInterface pointers.
 
 class XPCNativeSet final
 {
   public: