Bug 1277604 - Initialize |mIframeToDiv| in the initialization code like other variables. r=aceman
authorISHIKAWA, Chiaki <ishikawa@yk.rim.or.jp>
Mon, 06 Jun 2016 21:30:15 +0200
changeset 25221 0eb5ec48cc492e1ce6a7827a9ee5d7533eb70439
parent 25220 51b9450f3f27f2bd06d3164fa3c20606fef28cce
child 25222 d5d61eac1a5a7a6349f9157a51a814a80b18d200
push id1725
push userclokep@gmail.com
push dateMon, 19 Sep 2016 17:35:08 +0000
treeherdercomm-beta@6ead1abf3817 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaceman
bugs1277604
Bug 1277604 - Initialize |mIframeToDiv| in the initialization code like other variables. r=aceman
mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp
--- a/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp
+++ b/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp
@@ -220,17 +220,18 @@ inline TokenEnumeration TokenHash::getTo
   return TokenEnumeration(&mTokenTable);
 }
 
 Tokenizer::Tokenizer() :
   TokenHash(sizeof(Token)),
   mBodyDelimiters(kBayesianFilterTokenDelimiters),
   mHeaderDelimiters(kBayesianFilterTokenDelimiters),
   mCustomHeaderTokenization(false),
-  mMaxLengthForToken(kMaxLengthForToken)
+  mMaxLengthForToken(kMaxLengthForToken),
+  mIframeToDiv(false)
 {
   nsresult rv;
   nsCOMPtr<nsIPrefService> prefs = do_GetService(NS_PREFSERVICE_CONTRACTID, &rv);
   NS_ENSURE_SUCCESS_VOID(rv);
 
   nsCOMPtr<nsIPrefBranch> prefBranch;
   rv = prefs->GetBranch("mailnews.bayesian_spam_filter.", getter_AddRefs(prefBranch));
   NS_ENSURE_SUCCESS_VOID(rv); // no branch defined, just use defaults