Index: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
index 0693b9695b8ebebc9f04285bfd89b7d4f2245552..44a166dc76e8c37cdf3185c5762be45160c92a4a 100644 |
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
@@ -301,8 +301,7 @@ void SpellcheckHunspellDictionary::DownloadDictionary(GURL url) { |
download_status_ = DOWNLOAD_IN_PROGRESS; |
FOR_EACH_OBSERVER(Observer, observers_, OnHunspellDictionaryDownloadBegin()); |
- fetcher_.reset(net::URLFetcher::Create(url, net::URLFetcher::GET, |
- weak_ptr_factory_.GetWeakPtr())); |
+ fetcher_.reset(net::URLFetcher::Create(url, net::URLFetcher::GET, this)); |
fetcher_->SetRequestContext(request_context_getter_); |
fetcher_->SetLoadFlags( |
net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES); |