Chromium Code Reviews| Index: chrome/browser/ui/bookmarks/bookmark_tab_helper.cc |
| diff --git a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc |
| index 56e19f8e16469c6102737cfc5d075badd4f86255..de634c8350142003b1266857b2d1233d55494cdc 100644 |
| --- a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc |
| +++ b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc |
| @@ -27,9 +27,9 @@ BookmarkTabHelper::BookmarkTabHelper(TabContentsWrapper* tab_contents) |
| bookmark_drag_(NULL) { |
| // Register for notifications about URL starredness changing on any profile. |
| registrar_.Add(this, chrome::NOTIFICATION_URLS_STARRED, |
| - NotificationService::AllSources()); |
| + Source<Profile>(tab_contents->profile())); |
|
Peter Kasting
2011/08/08 18:47:37
Nit: Could maybe save a line by factoring this sub
|
| registrar_.Add(this, chrome::NOTIFICATION_BOOKMARK_MODEL_LOADED, |
| - NotificationService::AllSources()); |
| + Source<Profile>(tab_contents->profile())); |
| } |
| BookmarkTabHelper::~BookmarkTabHelper() { |