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

Unified Diff: chrome/browser/ui/browser.h

Issue 658943002: Revert of [src/chrome/browser/] Declaring the weak_ptr_factory in proper order in ui and prerender … (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
« no previous file with comments | « chrome/browser/prerender/prerender_local_predictor.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 590cb62cd7728fe43717b5160edc663f44b1bf6c..2e17be1f8196abcdccebd6fd466e039aea62e594 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -972,13 +972,13 @@ class Browser : public TabStripModelObserver,
// True if the browser window has been shown at least once.
bool window_has_shown_;
+ // The following factory is used for chrome update coalescing.
+ base::WeakPtrFactory<Browser> chrome_updater_factory_;
+
scoped_ptr<BrowserContentTranslateDriverObserver> translate_driver_observer_;
scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_;
- // The following factory is used for chrome update coalescing.
- base::WeakPtrFactory<Browser> chrome_updater_factory_;
-
// The following factory is used to close the frame at a later time.
base::WeakPtrFactory<Browser> weak_factory_;
« no previous file with comments | « chrome/browser/prerender/prerender_local_predictor.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698