| Index: chrome/renderer/spellchecker/hunspell_engine.h
|
| diff --git a/chrome/renderer/spellchecker/hunspell_engine.h b/chrome/renderer/spellchecker/hunspell_engine.h
|
| index fbd8ac8915351c5b62edf6cfe3f37ca844e986e5..534eb87f82d2a2d01c9e0f4f51ac1e2f46ed5857 100644
|
| --- a/chrome/renderer/spellchecker/hunspell_engine.h
|
| +++ b/chrome/renderer/spellchecker/hunspell_engine.h
|
| @@ -25,7 +25,7 @@ class HunspellEngine : public SpellingEngine {
|
| HunspellEngine();
|
| virtual ~HunspellEngine();
|
|
|
| - virtual void Init(base::PlatformFile file) OVERRIDE;
|
| + virtual void Init(base::File file) OVERRIDE;
|
|
|
| virtual bool InitializeIfNeeded() OVERRIDE;
|
| virtual bool IsEnabled() OVERRIDE;
|
| @@ -46,15 +46,18 @@ class HunspellEngine : public SpellingEngine {
|
| // The hunspell dictionary in use.
|
| scoped_ptr<Hunspell> hunspell_;
|
|
|
| - base::PlatformFile file_;
|
| + base::File file_;
|
|
|
| - // This flags is true if we have been initialized.
|
| + // This flag is true if hunspell is enabled.
|
| + bool hunspell_enabled_;
|
| +
|
| + // This flag is true if we have been initialized.
|
| // The value indicates whether we should request a
|
| // dictionary from the browser when the render view asks us to check the
|
| // spelling of a word.
|
| bool initialized_;
|
|
|
| - // This flags is true if we have requested dictionary.
|
| + // This flag is true if we have requested dictionary.
|
| bool dictionary_requested_;
|
| };
|
|
|
|
|