Index: ui/base/ime/mock_input_method.cc |
diff --git a/ui/base/ime/mock_input_method.cc b/ui/base/ime/mock_input_method.cc |
index 8ff36190fbe6a2bc08ed105d464073e9086c1d72..f2cf8ebc67f5c4a29848e5740006f573c640027d 100644 |
--- a/ui/base/ime/mock_input_method.cc |
+++ b/ui/base/ime/mock_input_method.cc |
@@ -40,8 +40,8 @@ TextInputClient* MockInputMethod::GetTextInputClient() const { |
return text_input_client_; |
} |
-bool MockInputMethod::DispatchKeyEvent(const ui::KeyEvent& event) { |
- return delegate_->DispatchKeyEventPostIME(event); |
+void MockInputMethod::DispatchKeyEvent(ui::KeyEvent* event) { |
+ ignore_result(delegate_->DispatchKeyEventPostIME(event)); |
} |
void MockInputMethod::OnFocus() { |