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

Unified Diff: chrome/browser/ui/views/chrome_views_delegate.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
Index: chrome/browser/ui/views/chrome_views_delegate.h
diff --git a/chrome/browser/ui/views/chrome_views_delegate.h b/chrome/browser/ui/views/chrome_views_delegate.h
index 17ea09f9f9bb801f667ad78cfc459e577f8b9a20..0a981207659a1eef224073b70ac755bfe35014d0 100644
--- a/chrome/browser/ui/views/chrome_views_delegate.h
+++ b/chrome/browser/ui/views/chrome_views_delegate.h
@@ -79,10 +79,11 @@ class ChromeViewsDelegate : public views::ViewsDelegate {
#if defined(OS_WIN)
AppbarAutohideEdgeMap appbar_autohide_edge_map_;
- base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_;
// If true we're in the process of notifying a callback from
// GetAutohideEdges().start a new query.
bool in_autohide_edges_callback_;
+
+ base::WeakPtrFactory<ChromeViewsDelegate> weak_factory_;
#endif
DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
« no previous file with comments | « chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc ('k') | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698