Index: ui/base/ime/input_method_mac.mm |
diff --git a/ui/base/ime/input_method_mac.mm b/ui/base/ime/input_method_mac.mm |
index 0e9cac557e9f734226f8d7f52f4439810c4fa167..ff6118fa165dea974b03288be3ff0a48d5600a91 100644 |
--- a/ui/base/ime/input_method_mac.mm |
+++ b/ui/base/ime/input_method_mac.mm |
@@ -18,9 +18,9 @@ bool InputMethodMac::OnUntranslatedIMEMessage(const base::NativeEvent& event, |
return false; |
} |
-bool InputMethodMac::DispatchKeyEvent(const ui::KeyEvent& event) { |
+void InputMethodMac::DispatchKeyEvent(ui::KeyEvent* event) { |
// This is used on Mac only to dispatch events post-IME. |
- return DispatchKeyEventPostIME(event); |
+ ignore_result(DispatchKeyEventPostIME(event)); |
} |
void InputMethodMac::OnCaretBoundsChanged(const TextInputClient* client) { |