Index: chrome/browser/ui/libgtkui/native_theme_gtk3.cc |
diff --git a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc |
index db9b9d597416ffd06780f43a0b5ad19b35f9869f..5c0cb8bafd47bc4bf38a23417385e41b7e231e31 100644 |
--- a/chrome/browser/ui/libgtkui/native_theme_gtk3.cc |
+++ b/chrome/browser/ui/libgtkui/native_theme_gtk3.cc |
@@ -135,6 +135,10 @@ SkColor SkColorFromColorId(ui::NativeTheme::ColorId color_id) { |
} |
} |
+ // Separator |
+ case ui::NativeTheme::kColorId_SeparatorColor: |
+ return GetFgColor("GtkSeparator#separator.horizontal"); |
+ |
// Button |
case ui::NativeTheme::kColorId_ButtonEnabledColor: |
return GetFgColor("GtkButton#button.text-button GtkLabel#label"); |
@@ -321,6 +325,7 @@ NativeThemeGtk3::NativeThemeGtk3() { |
g_type_class_unref(g_type_class_ref(gtk_scrollbar_get_type())); |
g_type_class_unref(g_type_class_ref(gtk_toolbar_get_type())); |
g_type_class_unref(g_type_class_ref(gtk_text_view_get_type())); |
+ g_type_class_unref(g_type_class_ref(gtk_separator_get_type())); |
g_signal_connect_after(gtk_settings_get_default(), "notify::gtk-theme-name", |
G_CALLBACK(OnThemeChanged), this); |