| Index: chrome/browser/dom_ui/new_tab_ui.cc
|
| ===================================================================
|
| --- chrome/browser/dom_ui/new_tab_ui.cc (revision 21313)
|
| +++ chrome/browser/dom_ui/new_tab_ui.cc (working copy)
|
| @@ -1469,7 +1469,7 @@
|
| }
|
|
|
| // Listen for theme installation.
|
| - registrar_.Add(this, NotificationType::THEME_INSTALLED,
|
| + registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED,
|
| NotificationService::AllSources());
|
| // Listen for bookmark bar visibility changes.
|
| registrar_.Add(this, NotificationType::BOOKMARK_BAR_VISIBILITY_PREF_CHANGED,
|
| @@ -1482,7 +1482,7 @@
|
| void NewTabUI::Observe(NotificationType type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - if (NotificationType::THEME_INSTALLED == type) {
|
| + if (NotificationType::BROWSER_THEME_CHANGED == type) {
|
| CallJavascriptFunction(L"themeChanged");
|
| } else if (NotificationType::BOOKMARK_BAR_VISIBILITY_PREF_CHANGED) {
|
| if (GetProfile()->GetPrefs()->GetBoolean(prefs::kShowBookmarkBar))
|
|
|