Chromium Code Reviews| Index: ui/views/controls/textfield/textfield_unittest.cc |
| diff --git a/ui/views/controls/textfield/textfield_unittest.cc b/ui/views/controls/textfield/textfield_unittest.cc |
| index 13e2b3da54dfca41c97d94a5298f8379ffd172ca..d22c7e83cf23ca87603f5c459a225b462409334f 100644 |
| --- a/ui/views/controls/textfield/textfield_unittest.cc |
| +++ b/ui/views/controls/textfield/textfield_unittest.cc |
| @@ -1252,13 +1252,7 @@ TEST_F(TextfieldTest, OnKeyPress) { |
| // F20 key won't be handled. |
| SendKeyEvent(ui::VKEY_F20); |
| -#if defined(OS_MACOSX) |
| - // On Mac, key combinations that don't map to editing commands are forwarded |
| - // on to the next responder, usually ending up at the window, which will beep. |
|
tapted
2016/11/23 02:09:30
this is nice :)
|
| - EXPECT_FALSE(textfield_->key_received()); |
|
themblsha
2016/11/22 14:33:48
The comment is outdated, as we try to DispatchKeyE
|
| -#else |
| EXPECT_TRUE(textfield_->key_received()); |
| -#endif |
| EXPECT_FALSE(textfield_->key_handled()); |
| textfield_->clear(); |
| } |