Index: chrome/browser/tab_contents/interstitial_page.cc |
=================================================================== |
--- chrome/browser/tab_contents/interstitial_page.cc (revision 34187) |
+++ chrome/browser/tab_contents/interstitial_page.cc (working copy) |
@@ -23,6 +23,7 @@ |
#include "chrome/browser/tab_contents/tab_contents_view.h" |
#include "chrome/common/bindings_policy.h" |
#if defined(TOOLKIT_GTK) |
+#include "chrome/browser/gtk/gtk_theme_provider.h" |
#include "chrome/common/gtk_util.h" |
#endif |
#include "chrome/common/notification_service.h" |
@@ -143,7 +144,8 @@ |
DCHECK(new_navigation || !tab->controller().pending_entry()); |
#if defined(TOOLKIT_GTK) |
- gtk_util::InitRendererPrefsFromGtkSettings(&renderer_preferences_); |
+ gtk_util::InitRendererPrefsFromGtkSettings(&renderer_preferences_, |
+ GtkThemeProvider::GetFrom(tab->profile())->UseGtkTheme()); |
#endif |
} |