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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h

Issue 577523002: Refactoring the WeakPtrFactory initialization in chrome/browser/ui/views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved Rebase issues 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 | « no previous file | chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h b/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
index ea8991671c2f4c39fba212132be9fc700c49475a..57f318d7ec459a8dc4bb14f727a248ff32003983 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h
@@ -47,8 +47,6 @@ class ChromeNativeAppWindowViewsWin : public ChromeNativeAppWindowViews {
// Overridden from extensions::NativeAppWindow:
virtual void UpdateShelfMenu() OVERRIDE;
- base::WeakPtrFactory<ChromeNativeAppWindowViewsWin> weak_ptr_factory_;
-
// Populated if there is a glass frame, which provides special information
// to the native widget implementation. This will be NULL if there is no
// glass frame. Note, this can change from NULL to non-NULL and back again
@@ -58,6 +56,8 @@ class ChromeNativeAppWindowViewsWin : public ChromeNativeAppWindowViews {
// The Windows Application User Model ID identifying the app.
base::string16 app_model_id_;
+ base::WeakPtrFactory<ChromeNativeAppWindowViewsWin> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsWin);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698