| Index: chrome/browser/gtk/gtk_theme_provider.cc
|
| diff --git a/chrome/browser/gtk/gtk_theme_provider.cc b/chrome/browser/gtk/gtk_theme_provider.cc
|
| index 7438bbf7f9a12e17d04ebbcd7b3889d808a8fc4d..42277247e94ff0b998e46b5de7ae635c46b92ccd 100644
|
| --- a/chrome/browser/gtk/gtk_theme_provider.cc
|
| +++ b/chrome/browser/gtk/gtk_theme_provider.cc
|
| @@ -195,7 +195,7 @@ void GtkThemeProvider::SetNativeTheme() {
|
| profile()->GetPrefs()->SetBoolean(prefs::kUsesSystemTheme, true);
|
| ClearAllThemeData();
|
| LoadGtkValues();
|
| - NotifyThemeChanged();
|
| + NotifyThemeChanged(NULL);
|
| }
|
|
|
| void GtkThemeProvider::Observe(NotificationType type,
|
| @@ -395,8 +395,8 @@ void GtkThemeProvider::LoadThemePrefs() {
|
| }
|
| }
|
|
|
| -void GtkThemeProvider::NotifyThemeChanged() {
|
| - BrowserThemeProvider::NotifyThemeChanged();
|
| +void GtkThemeProvider::NotifyThemeChanged(Extension* extension) {
|
| + BrowserThemeProvider::NotifyThemeChanged(extension);
|
|
|
| // Notify all GtkChromeButtons of their new rendering mode:
|
| for (std::vector<GtkWidget*>::iterator it = chrome_buttons_.begin();
|
| @@ -424,7 +424,7 @@ void GtkThemeProvider::OnStyleSet(GtkWidget* widget,
|
| if (provider->profile()->GetPrefs()->GetBoolean(prefs::kUsesSystemTheme)) {
|
| provider->ClearAllThemeData();
|
| provider->LoadGtkValues();
|
| - provider->NotifyThemeChanged();
|
| + provider->NotifyThemeChanged(NULL);
|
| }
|
|
|
| // Free the old icons only after the theme change notification has gone
|
|
|