| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index 1651c9b4b0a7e9a8e79efef0d581c8b88d83ae73..c5d26320d52d56b282385cc3563770f161740ea7 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -56,6 +56,9 @@ bool Textfield::IsViewsTextfieldEnabled() {
|
| return false;
|
| if (command_line->HasSwitch(switches::kEnableViewsTextfield))
|
| return true;
|
| + // The new dialog style cannot host native Windows textfield controls.
|
| + if (command_line->HasSwitch(switches::kEnableNewDialogStyle))
|
| + return true;
|
| #endif
|
| return true;
|
| }
|
|
|