Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: ui/base/ime/mock_input_method.cc

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698