| Index: ui/keyboard/keyboard_ui.cc
|
| diff --git a/ui/keyboard/keyboard_ui.cc b/ui/keyboard/keyboard_ui.cc
|
| index 5b6515a3355d50c5bdfe5e5ed3bbeef7dd6f4320..4770f6fc9f33c7a9d3207154b8c566c05ee477ca 100644
|
| --- a/ui/keyboard/keyboard_ui.cc
|
| +++ b/ui/keyboard/keyboard_ui.cc
|
| @@ -42,8 +42,8 @@ void KeyboardUI::EnsureCaretInWorkArea() {
|
| // Use new virtual keyboard behavior only if the flag enabled and in
|
| // non-sticky mode.
|
| const bool new_vk_behavior =
|
| - (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - ::switches::kUseNewVirtualKeyboardBehavior) &&
|
| + (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + ::switches::kDisableNewVirtualKeyboardBehavior) &&
|
| !keyboard_controller_->keyboard_locked());
|
|
|
| if (new_vk_behavior) {
|
|
|