Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
index efd24b6b76c207d9bc331f412f99a784cd8bafe2..0b39b01e01f6b01177341cfb47508af57f141302 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
@@ -1632,7 +1632,7 @@ DesktopWindowTreeHost* DesktopWindowTreeHost::Create( |
ui::NativeTheme* DesktopWindowTreeHost::GetNativeTheme(aura::Window* window) { |
const views::LinuxUI* linux_ui = views::LinuxUI::instance(); |
if (linux_ui) { |
- ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(); |
+ ui::NativeTheme* native_theme = linux_ui->GetNativeTheme(window); |
if (native_theme) |
return native_theme; |
} |