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

Unified Diff: chrome/browser/cookies_tree_model.cc

Issue 10073022: Use weak_ptr for OnServerBoundCertModelInfoLoaded callback too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cookies_tree_model.cc
diff --git a/chrome/browser/cookies_tree_model.cc b/chrome/browser/cookies_tree_model.cc
index d90bdfb1b2e5b161071fbb4783fafcf30f7ab819..c410ec8d49f6f418485247c9577b542469713c73 100644
--- a/chrome/browser/cookies_tree_model.cc
+++ b/chrome/browser/cookies_tree_model.cc
@@ -697,7 +697,7 @@ CookiesTreeModel::CookiesTreeModel(
if (server_bound_cert_helper_) {
server_bound_cert_helper_->StartFetching(
base::Bind(&CookiesTreeModel::OnServerBoundCertModelInfoLoaded,
- base::Unretained(this)));
+ weak_ptr_factory_.GetWeakPtr()));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698