Index: ui/base/test/ui_controls_internal_win.cc |
diff --git a/ui/base/test/ui_controls_internal_win.cc b/ui/base/test/ui_controls_internal_win.cc |
index 3667bcf7c4e7d3e59318d0750de3b8227f14780a..0dadb6d592e569c26c3511c9da41a9ea961172c4 100644 |
--- a/ui/base/test/ui_controls_internal_win.cc |
+++ b/ui/base/test/ui_controls_internal_win.cc |
@@ -148,19 +148,6 @@ bool FillKeyboardInput(ui::KeyboardCode key, INPUT* input, bool key_up) { |
return true; |
} |
-// Send a key event (up/down) |
-bool SendKeyEvent(ui::KeyboardCode key, bool up) { |
- INPUT input = { 0 }; |
- |
- if (!FillKeyboardInput(key, &input, up)) |
- return false; |
- |
- if (!::SendInput(1, &input, sizeof(INPUT))) |
- return false; |
- |
- return true; |
-} |
- |
} // namespace |
namespace ui_controls { |