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

Unified Diff: components/web_cache/browser/web_cache_manager.h

Issue 573623002: Code refactor related to WeakPtrFactory in src/components module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « components/metrics/net/network_metrics_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_cache/browser/web_cache_manager.h
diff --git a/components/web_cache/browser/web_cache_manager.h b/components/web_cache/browser/web_cache_manager.h
index 0945ec512de163efadf245cf4d2f5261d43a9401..5d649922c059be4f26bd4cc1cfc93a4b54a54056 100644
--- a/components/web_cache/browser/web_cache_manager.h
+++ b/components/web_cache/browser/web_cache_manager.h
@@ -229,10 +229,10 @@ class WebCacheManager : public content::NotificationObserver {
// recently than they have been active.
std::set<int> inactive_renderers_;
- base::WeakPtrFactory<WebCacheManager> weak_factory_;
-
content::NotificationRegistrar registrar_;
+ base::WeakPtrFactory<WebCacheManager> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(WebCacheManager);
};
« no previous file with comments | « components/metrics/net/network_metrics_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698