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_RELBRANCH SEAMONKEY_2_22_BUILD1 SEAMONKEY_2_22_RELEASE
authorAryeh Gregor <ayg@aryeh.name>
Tue, 01 Oct 2013 09:42:35 +0300
branchSEA2_22_RELBRANCH
changeset 155174 102298d3cf1703f914a2c5083d2131402f15bfc5
parent 155173 64930b24444654b4c77f2796ef984a04948d26c4
child 155175 6a0d19e413aab8745748fb2b8917f72bcb07a06d
push id396
push userCallek@gmail.com
push dateMon, 28 Oct 2013 20:53:20 +0000
treeherdermozilla-release@102298d3cf17 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan, Callek
bugs891904
milestone25.0
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.