Bug 1370955 - fix indent in nsMsgDatabase::RemoveHdrFromCache. r=jorgk
authoraceman <acelists@atlas.sk>
Wed, 07 Jun 2017 09:28:00 +0200
changeset 28336 36e37076b1b36bb009b6f64a36e77a74e2ee1387
parent 28335 aa78e5d5dc26d9cda6e983589ccb98a7a94054be
child 28337 f558febc1ead57c76ba5eb5af4443a67680f7fa4
push id1986
push userclokep@gmail.com
push dateWed, 02 Aug 2017 14:43:31 +0000
treeherdercomm-beta@b51c9adf2c9e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1370955
Bug 1370955 - fix indent in nsMsgDatabase::RemoveHdrFromCache. r=jorgk
mailnews/db/msgdb/src/nsMsgDatabase.cpp
--- a/mailnews/db/msgdb/src/nsMsgDatabase.cpp
+++ b/mailnews/db/msgdb/src/nsMsgDatabase.cpp
@@ -625,17 +625,17 @@ void nsMsgDatabase::ClearHdrCache()
   m_cachedHeaders.Clear();
 }
 
 void nsMsgDatabase::RemoveHdrFromCache(nsIMsgDBHdr *hdr, nsMsgKey key)
 {
   if (key == nsMsgKey_None)
     hdr->GetMessageKey(&key);
 
-    m_cachedHeaders.Remove(key);
+  m_cachedHeaders.Remove(key);
 }
 
 bool nsMsgDatabase::GetHdrFromUseCache(nsMsgKey key, nsIMsgDBHdr* *result)
 {
   MOZ_ASSERT(result, "This parameter must be non-null!");
 
   nsMsgHdr *hdr = m_headersInUse.Get(key);
   NS_IF_ADDREF(*result = hdr);