| 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 9d5c7dc564177d82e98ae97ca2b28ae16bf8df64..ce1c030c68fe2f95a7da19d075821e32b11a0ce4 100644
|
| --- a/ui/base/ime/mock_input_method.cc
|
| +++ b/ui/base/ime/mock_input_method.cc
|
| @@ -58,6 +58,7 @@ TextInputClient* MockInputMethod::GetTextInputClient() const {
|
|
|
| void MockInputMethod::DispatchKeyEvent(const base::NativeEvent& native_event) {
|
| #if defined(USE_X11)
|
| + DCHECK(native_event);
|
| if (native_event->type == KeyRelease) {
|
| // On key release, just dispatch it.
|
| delegate_->DispatchKeyEventPostIME(native_event);
|
|
|