| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index bf8acfc3fa64e7db27ff643aa0a2cd325d44ef69..773c8a08f6d839b44950fd8daad888be0b82005d 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -4260,12 +4260,16 @@ void RenderViewImpl::OnSetRendererPrefs(
|
| renderer_prefs.thumb_inactive_color,
|
| renderer_prefs.thumb_active_color,
|
| renderer_prefs.track_color);
|
| +#endif
|
|
|
| +#if defined(USE_ASH) || defined(TOOLKIT_USES_GTK)
|
| if (webview()) {
|
| +#if defined(TOOLKIT_USES_GTK)
|
| webview()->setScrollbarColors(
|
| renderer_prefs.thumb_inactive_color,
|
| renderer_prefs.thumb_active_color,
|
| renderer_prefs.track_color);
|
| +#endif
|
| webview()->setSelectionColors(
|
| renderer_prefs.active_selection_bg_color,
|
| renderer_prefs.active_selection_fg_color,
|
| @@ -4274,6 +4278,7 @@ void RenderViewImpl::OnSetRendererPrefs(
|
| webview()->themeChanged();
|
| }
|
| #endif
|
| +
|
| // If the zoom level for this page matches the old zoom default, and this
|
| // is not a plugin, update the zoom level to match the new default.
|
| if (webview() && !webview()->mainFrame()->document().isPluginDocument() &&
|
|
|