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

Unified Diff: components/autofill/core/browser/autofill_external_delegate.h

Issue 630983003: Declaring the weak_ptr_factory in proper order in src/components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: components/autofill/core/browser/autofill_external_delegate.h
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h
index 36a511a5728fc2d92766fa3e34c1b8772afb0848..84c76acb6ce9d434646c86600d2d650ca13cefe1 100644
--- a/components/autofill/core/browser/autofill_external_delegate.h
+++ b/components/autofill/core/browser/autofill_external_delegate.h
@@ -150,12 +150,12 @@ class AutofillExternalDelegate
std::vector<base::string16> data_list_values_;
std::vector<base::string16> data_list_labels_;
- base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_;
-
// Whether the access Address Book prompt has ever been shown for the current
// |query_form_|. This variable is only used on OSX.
bool has_shown_address_book_prompt;
+ base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698