Index: chrome/browser/ui/webui/quota_internals_proxy.h |
diff --git a/chrome/browser/ui/webui/quota_internals_proxy.h b/chrome/browser/ui/webui/quota_internals_proxy.h |
index c717d579308f4177e0b42bfd89069e9ab44a793d..ad433448ca2c8317d660b7f4c048b75253bd12f5 100644 |
--- a/chrome/browser/ui/webui/quota_internals_proxy.h |
+++ b/chrome/browser/ui/webui/quota_internals_proxy.h |
@@ -12,6 +12,7 @@ |
#include <vector> |
#include "base/memory/ref_counted.h" |
+#include "base/memory/weak_ptr.h" |
#include "content/browser/browser_thread.h" |
#include "webkit/quota/quota_manager.h" |
#include "webkit/quota/quota_types.h" |
@@ -69,7 +70,7 @@ class QuotaInternalsProxy |
QuotaInternalsHandler* handler_; |
// Used on IO Thread. |
- base::ScopedCallbackFactory<QuotaInternalsProxy> callback_factory_; |
+ base::WeakPtrFactory<QuotaInternalsProxy> weak_factory_; |
scoped_refptr<quota::QuotaManager> quota_manager_; |
std::set<std::pair<std::string, quota::StorageType> > |
hosts_visited_, hosts_pending_; |