Index: chrome/browser/spellchecker/spellcheck_service.h |
diff --git a/chrome/browser/spellchecker/spellcheck_service.h b/chrome/browser/spellchecker/spellcheck_service.h |
index 46a081bc1faed06a2c4c59c6f8dc590f65c34113..e310eb75d18e5bd49cf9adc68131000b5c3a650c 100644 |
--- a/chrome/browser/spellchecker/spellcheck_service.h |
+++ b/chrome/browser/spellchecker/spellcheck_service.h |
@@ -54,6 +54,8 @@ class SpellcheckService : public KeyedService, |
explicit SpellcheckService(content::BrowserContext* context); |
~SpellcheckService() override; |
+ base::WeakPtr<SpellcheckService> GetWeakPtr(); |
+ |
// This function computes a vector of strings which are to be displayed in |
// the context menu over a text area for changing spell check languages. It |
// returns the index of the current spell check language in the vector. |