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

Unified Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h

Issue 572873002: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build break fixed 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/chromeos/login/users/wallpaper/wallpaper_manager.h
diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h
index 6a23cdb610137c439a08a46266971dbdf169e59a..b76e305eb3deb487c00528dadd36a7daaefa799a 100644
--- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h
+++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h
@@ -591,8 +591,6 @@ class WallpaperManager: public content::NotificationObserver {
scoped_ptr<CrosSettings::ObserverSubscription>
show_user_name_on_signin_subscription_;
- base::WeakPtrFactory<WallpaperManager> weak_factory_;
-
content::NotificationRegistrar registrar_;
ObserverList<Observer> observers_;
@@ -624,6 +622,8 @@ class WallpaperManager: public content::NotificationObserver {
// Current decoded default image is stored in cache.
scoped_ptr<user_manager::UserImage> default_wallpaper_image_;
+ base::WeakPtrFactory<WallpaperManager> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(WallpaperManager);
};

Powered by Google App Engine
This is Rietveld 408576698