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

Unified Diff: chromeos/tpm_password_fetcher.h

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/login/auth/online_attempt.cc ('k') | chromeos/tpm_password_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/tpm_password_fetcher.h
diff --git a/chromeos/tpm_password_fetcher.h b/chromeos/tpm_password_fetcher.h
index f92454c73bb726fd9bed8bbe39ddb6a6e1b914ed..71a4fc2d3af9cf68ecb1c3b96e79eee502e3e9fa 100644
--- a/chromeos/tpm_password_fetcher.h
+++ b/chromeos/tpm_password_fetcher.h
@@ -45,9 +45,10 @@ class CHROMEOS_EXPORT TpmPasswordFetcher {
// Posts a task to call Fetch() later.
void RescheduleFetch();
- base::WeakPtrFactory<TpmPasswordFetcher> weak_factory_;
TpmPasswordFetcherDelegate* delegate_;
+ base::WeakPtrFactory<TpmPasswordFetcher> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(TpmPasswordFetcher);
};
« no previous file with comments | « chromeos/login/auth/online_attempt.cc ('k') | chromeos/tpm_password_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698