Index: chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm b/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm |
index ecbf07d7456e3090990cc70fed937ce5e1db374e..011ea3689b7e82b81491d1b0780125f0066cdd2d 100644 |
--- a/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm |
+++ b/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm |
@@ -98,12 +98,6 @@ TEST(NSMenuItemAdditionsTest, TestFiresForKeyEvent) { |
ExpectKeyFiresItem(key, item); |
ExpectKeyDoesntFireItem(KeyEvent(0x20102, @"A", @"A", 0), item); |
- // Disabled menu item |
- key = KeyEvent(0x100, @"a", @"a", 0); |
- item = MenuItem(@"a", 0); |
- [item setEnabled:NO]; |
- ExpectKeyDoesntFireItem(key, item, false); |
- |
// shift-a |
key = KeyEvent(0x20102, @"A", @"A", 0); |
item = MenuItem(@"A", 0); |