Index: chrome/browser/ui/cocoa/profiles/avatar_base_controller.h |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h |
index 8e5ce6954c6fb3f17926e336dc0fb37cefa575c5..68f03c5a7e31159025ecef14ea2e01bab615a2e1 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.h |
@@ -10,6 +10,7 @@ |
#import "base/mac/scoped_nsobject.h" |
#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/ui/browser_window.h" |
+#import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h" |
@class BaseBubbleController; |
class Browser; |
@@ -18,7 +19,7 @@ class ProfileInfoUpdateObserver; |
// This view controller manages the button that sits in the top of the |
// window frame when using multi-profiles, and shows information about the |
// current profile. Clicking the button will open the profile menu. |
-@interface AvatarBaseController : NSViewController { |
+@interface AvatarBaseController : NSViewController<HasWeakBrowserPointer> { |
@protected |
Browser* browser_; |