Bug 891904 - Un-schedule full spell check when checker is disabled; r=ehsan,a=Standard8 for checkin on Thunderbird specific branch. DONTBUILD GECKO250b1_2013101508_RELBRANCH SEAMONKEY_2_22b1_BUILD1 SEAMONKEY_2_22b1_RELEASE THUNDERBIRD_25_0b1_BUILD1 THUNDERBIRD_25_0b1_RELEASE
authorAryeh Gregor <ayg@aryeh.name>
Tue, 01 Oct 2013 09:42:35 +0300
branchGECKO250b1_2013101508_RELBRANCH
changeset 154224 584dbfb67083bce7d9e9d6967d256353a5a0b010
parent 154218 5eede470990a1ab7e67610554c27076818ba898e
child 154225 60a870a0a4c71217d65f153ba509f6ad379744db
push id2930
push userbugzilla@standard8.plus.com
push dateTue, 15 Oct 2013 17:12:51 +0000
treeherdermozilla-beta@584dbfb67083 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan, Standard8
bugs891904
milestone25.0
Bug 891904 - Un-schedule full spell check when checker is disabled; r=ehsan,a=Standard8 for checkin on Thunderbird specific branch. DONTBUILD
extensions/spellcheck/src/mozInlineSpellChecker.cpp
--- a/extensions/spellcheck/src/mozInlineSpellChecker.cpp
+++ b/extensions/spellcheck/src/mozInlineSpellChecker.cpp
@@ -621,16 +621,17 @@ nsresult mozInlineSpellChecker::Cleanup(
   }
   if (mNumPendingSpellChecks > 0) {
     // If mNumPendingSpellChecks is still > 0 at this point, the remainder is
     // pending scheduled spell checks.
     ChangeNumPendingSpellChecks(-mNumPendingSpellChecks, editor);
   }
 
   mEditor = nullptr;
+  mFullSpellCheckScheduled = false;
 
   return rv;
 }
 
 // mozInlineSpellChecker::CanEnableInlineSpellChecking
 //
 //    This function can be called to see if it seems likely that we can enable
 //    spellchecking before actually creating the InlineSpellChecking objects.