Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5613)

Unified Diff: chrome/browser/net/sdch_dictionary_fetcher.h

Issue 8589012: base::Bind fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/sdch_dictionary_fetcher.h
diff --git a/chrome/browser/net/sdch_dictionary_fetcher.h b/chrome/browser/net/sdch_dictionary_fetcher.h
index 10cfdbe14c7375fd04e7c180ef12d523ba386e6a..0e7da2676bf4c7f4b4f60c0a3088a3555e79218b 100644
--- a/chrome/browser/net/sdch_dictionary_fetcher.h
+++ b/chrome/browser/net/sdch_dictionary_fetcher.h
@@ -61,7 +61,7 @@ class SdchDictionaryFetcher : public content::URLFetcherDelegate,
// Always spread out the dictionary fetches, so that they don't steal
// bandwidth from the actual page load. Create delayed tasks to spread out
wtc 2011/11/17 08:16:21 Is this comment still accurate? Does weak_factory
// the download.
- ScopedRunnableMethodFactory<SdchDictionaryFetcher> method_factory_;
+ base::WeakPtrFactory<SdchDictionaryFetcher> weak_factory_;
bool task_is_pending_;
// Althought the SDCH spec does not preclude a server from using a single URL

Powered by Google App Engine
This is Rietveld 408576698