Bug 1049812 - Part2: fix indentaion in toolkit/components/places/History.cpp for class PlaceHashKey. r=mak
authorArnaud Sourioux <six.dsn@gmail.com>
Fri, 05 Sep 2014 00:20:00 +0200
changeset 227271 d38ec8e9cfd605464b74a8e2e46311b91fd91022
parent 227270 27ea646472f9075e19137cb3e141be68fe9f9fbf
child 227272 750dac4dd8536abc0fc30e79ea9826b6313d3d1a
push idunknown
push userunknown
push dateunknown
reviewersmak
bugs1049812
milestone35.0a1
Bug 1049812 - Part2: fix indentaion in toolkit/components/places/History.cpp for class PlaceHashKey. r=mak
toolkit/components/places/History.cpp
--- a/toolkit/components/places/History.cpp
+++ b/toolkit/components/places/History.cpp
@@ -180,42 +180,42 @@ struct RemoveVisitsFilter {
   uint32_t transitionType;
 };
 
 ////////////////////////////////////////////////////////////////////////////////
 //// PlaceHashKey
 
 class PlaceHashKey : public nsCStringHashKey
 {
-  public:
-    explicit PlaceHashKey(const nsACString& aSpec)
+public:
+  explicit PlaceHashKey(const nsACString& aSpec)
     : nsCStringHashKey(&aSpec)
     , visitCount(0)
     , bookmarked(false)
 #ifdef DEBUG
     , isInitialized(false)
 #endif
-    {
-    }
-
-    explicit PlaceHashKey(const nsACString* aSpec)
+  {
+  }
+
+  explicit PlaceHashKey(const nsACString* aSpec)
     : nsCStringHashKey(aSpec)
     , visitCount(0)
     , bookmarked(false)
 #ifdef DEBUG
     , isInitialized(false)
 #endif
-    {
-    }
-
-    PlaceHashKey(const PlaceHashKey& aOther)
+  {
+  }
+
+  PlaceHashKey(const PlaceHashKey& aOther)
     : nsCStringHashKey(&aOther.GetKey())
-    {
-      MOZ_ASSERT(false, "Do not call me!");
-    }
+  {
+    MOZ_ASSERT(false, "Do not call me!");
+  }
 
   void SetProperties(uint32_t aVisitCount, bool aBookmarked)
   {
     visitCount = aVisitCount;
     bookmarked = aBookmarked;
 #ifdef DEBUG
     isInitialized = true;
 #endif
@@ -232,23 +232,23 @@ class PlaceHashKey : public nsCStringHas
   bool IsBookmarked() const
   {
 #ifdef DEBUG
     MOZ_ASSERT(isInitialized, "PlaceHashKey::bookmarked not set");
 #endif
     return bookmarked;
   }
 
-    // Array of VisitData objects.
-    nsTArray<VisitData> visits;
+  // Array of VisitData objects.
+  nsTArray<VisitData> visits;
 private:
-    // Visit count for this place.
-    uint32_t visitCount;
-    // Whether this place is bookmarked.
-    bool bookmarked;
+  // Visit count for this place.
+  uint32_t visitCount;
+  // Whether this place is bookmarked.
+  bool bookmarked;
 #ifdef DEBUG
   // Whether previous attributes are set.
   bool isInitialized;
 #endif
 };
 
 ////////////////////////////////////////////////////////////////////////////////
 //// Anonymous Helpers