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 84de8bda62613352f85ba48c93b42de0a3952cfd..6be1acba24f118af6a8b532f3fd978c7c21e601f 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"); |
@@ -312,6 +316,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); |