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

Unified Diff: chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h

Issue 572853002: Realigning the WeakPtrFactory initialization order in chrome/ui folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac error 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
Index: chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h b/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h
index b1e887e574da70786c5bf6b20a0d0f8ab6a36632..05724b1c47c67e7ee750031ffde2908190ce43da 100644
--- a/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h
@@ -53,13 +53,13 @@ class KioskAppMenuHandler
// NetworkStateInformer::NetworkStateInformerObserver overrides:
virtual void UpdateState(ErrorScreenActor::ErrorReason reason) OVERRIDE;
- base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_;
-
// True when WebUI is initialized. Otherwise don't allow calling JS functions.
bool is_webui_initialized_;
scoped_refptr<NetworkStateInformer> network_state_informer_;
+ base::WeakPtrFactory<KioskAppMenuHandler> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(KioskAppMenuHandler);
};
« no previous file with comments | « chrome/browser/ui/cocoa/status_bubble_mac.mm ('k') | chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698