Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc

Issue 2483683002: Try to get rid of all direct references to particular native themes. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
index 5d3ea30eec814bde68a454a398f52d3ce11b68f7..17c25f7b375db07cde2a6bbc5f8a92540c06de26 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_chromeos.cc
@@ -4,7 +4,7 @@
#include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
-#include "ui/native_theme/native_theme_aura.h"
+#include "ui/native_theme/native_theme.h"
namespace views {
@@ -20,7 +20,7 @@ DesktopWindowTreeHost* DesktopWindowTreeHost::Create(
// static
ui::NativeTheme* DesktopWindowTreeHost::GetNativeTheme(aura::Window* window) {
- return ui::NativeThemeAura::instance();
+ return ui::NativeTheme::GetInstanceForNativeUi();
}
} // namespace views
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698