Index: ui/views/controls/combobox/native_combobox_win.cc |
diff --git a/ui/views/controls/combobox/native_combobox_win.cc b/ui/views/controls/combobox/native_combobox_win.cc |
index 59b66b1ec92a40ba4257979e576a1cb6981c0633..fbf7adf6471fba2fdb542e8394e71a83585a116a 100644 |
--- a/ui/views/controls/combobox/native_combobox_win.cc |
+++ b/ui/views/controls/combobox/native_combobox_win.cc |
@@ -207,9 +207,11 @@ void NativeComboboxWin::UpdateFont() { |
// static |
NativeComboboxWrapper* NativeComboboxWrapper::CreateWrapper( |
Combobox* combobox) { |
- if (Widget::IsPureViews()) |
- return new NativeComboboxViews(combobox); |
+#if defined(USE_AURA) |
+ return new NativeComboboxViews(combobox); |
+#else |
return new NativeComboboxWin(combobox); |
+#endif |
} |
} // namespace views |