Bug 891904 - Un-schedule full spell check when checker is disabled; r=ehsan,a=Callek for checkin on SeaMonkey specific branch. DONTBUILD CLOSED TREE SEA2_22_1_RELBRANCH SEAMONKEY_2_22_1_BUILD1 SEAMONKEY_2_22_1_RELEASE
authorAryeh Gregor <ayg@aryeh.name>
Tue, 01 Oct 2013 09:42:35 +0300
branchSEA2_22_1_RELBRANCH
changeset 155188 a2dbb71a5c5e8e1073af9ab3605aa6e33eebd349
parent 155183 ced4abc7d6eed2c61ac97fc1aafc55967320f1b6
child 155189 efd8212ad4d05e2553da8e2dd950ec059602ffe8
push id403
push userCallek@gmail.com
push dateThu, 14 Nov 2013 01:23:18 +0000
treeherdermozilla-release@a2dbb71a5c5e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan, Callek
bugs891904
milestone25.0.1
Bug 891904 - Un-schedule full spell check when checker is disabled; r=ehsan,a=Callek for checkin on SeaMonkey specific branch. DONTBUILD CLOSED TREE
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.