| Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| index 13dd1c0888b897d5d555ae571da74f57849a65bc..40bcdf9a82f4d6f61fa7a03418e88df383d163df 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| @@ -90,6 +90,14 @@ public:
|
| // Exposed for testing only
|
| SpellCheckRequester& spellCheckRequester() const { return *m_spellCheckRequester; }
|
|
|
| + // The leak detector will report leaks should queued requests be posted
|
| + // while it GCs repeatedly, as the requests keep their associated element
|
| + // alive.
|
| + //
|
| + // Hence allow the leak detector to effectively stop the spell checker to
|
| + // ensure leak reporting stability.
|
| + void prepareForLeakDetection();
|
| +
|
| private:
|
| explicit SpellChecker(LocalFrame&);
|
|
|
|
|