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

Unified Diff: chrome/browser/jumplist_win.cc

Issue 575993002: Fix WeakPtrFactory member ordering in chrome/browser (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 | « chrome/browser/jumplist_win.h ('k') | chrome/browser/media_galleries/fileapi/itunes_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/jumplist_win.cc
diff --git a/chrome/browser/jumplist_win.cc b/chrome/browser/jumplist_win.cc
index 251f122cf77ad0874ece3f2f7f0c6365029f1e0a..dadc19ab3ab14117346d4179a49585b9fc331577 100644
--- a/chrome/browser/jumplist_win.cc
+++ b/chrome/browser/jumplist_win.cc
@@ -186,9 +186,9 @@ bool UpdateJumpList(const wchar_t* app_id,
} // namespace
JumpList::JumpList(Profile* profile)
- : weak_ptr_factory_(this),
- profile_(profile),
- task_id_(base::CancelableTaskTracker::kBadTaskId) {
+ : profile_(profile),
+ task_id_(base::CancelableTaskTracker::kBadTaskId),
+ weak_ptr_factory_(this) {
DCHECK(Enabled());
// To update JumpList when a tab is added or removed, we add this object to
// the observer list of the TabRestoreService class.
« no previous file with comments | « chrome/browser/jumplist_win.h ('k') | chrome/browser/media_galleries/fileapi/itunes_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698