Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm |
index 2c63978f0eacceee23a3e2d62925a6410ba6bd53..292e1b437c0ba7dec52c0f501792c348358bfbb6 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm |
@@ -57,7 +57,7 @@ BrowserWindowCocoa::BrowserWindowCocoa(Browser* browser, |
chrome::NOTIFICATION_BOOKMARK_BAR_VISIBILITY_PREF_CHANGED, |
NotificationService::AllSources()); |
Peter Kasting
2011/08/10 21:03:21
Don't you want to change this (and the observer co
Elliot Glaysher
2011/08/10 21:19:23
I'm doing this in a per-notification way instead o
|
registrar_.Add(this, chrome::NOTIFICATION_SIDEBAR_CHANGED, |
- NotificationService::AllSources()); |
+ Source<SidebarManager>(SidebarManager::GetInstance())); |
Peter Kasting
2011/08/10 21:03:21
Shouldn't the sidebar state be synced between norm
Elliot Glaysher
2011/08/10 21:19:23
The SidebarManager is currently a Singleton. It ma
|
} |
BrowserWindowCocoa::~BrowserWindowCocoa() { |