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

Unified Diff: chromeos/tpm_password_fetcher.cc

Issue 552323003: Changing the order of initialization WeakPtrFactory (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 | « chromeos/tpm_password_fetcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/tpm_password_fetcher.cc
diff --git a/chromeos/tpm_password_fetcher.cc b/chromeos/tpm_password_fetcher.cc
index e8da91d51c606b6f906b22f16a3b26c42289bdc5..02c4abc084f32a73e2a359405972e6fcb088b9aa 100644
--- a/chromeos/tpm_password_fetcher.cc
+++ b/chromeos/tpm_password_fetcher.cc
@@ -20,7 +20,7 @@ const int kTpmCheckIntervalMs = 500;
} // namespace
TpmPasswordFetcher::TpmPasswordFetcher(TpmPasswordFetcherDelegate* delegate)
- : weak_factory_(this), delegate_(delegate) {
+ : delegate_(delegate), weak_factory_(this) {
DCHECK(delegate_);
}
« no previous file with comments | « chromeos/tpm_password_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698