Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc |
=================================================================== |
--- chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc (revision 91880) |
+++ chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc (working copy) |
@@ -47,15 +47,15 @@ |
G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), |
NULL); |
- registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED, |
+ registrar_.Add(this, chrome::NOTIFICATION_BROWSER_THEME_CHANGED, |
Source<ThemeService>(theme_service_)); |
theme_service_->InitThemesFor(this); |
} |
-void BookmarkBarInstructionsGtk::Observe(NotificationType type, |
+void BookmarkBarInstructionsGtk::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- if (type == NotificationType::BROWSER_THEME_CHANGED) |
+ if (type == chrome::NOTIFICATION_BROWSER_THEME_CHANGED) |
UpdateColors(); |
} |