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

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

Issue 23478020: Makes sure that an input method doesn't reference to a destroyed object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Worked on nits. Created 7 years, 3 months 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
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/fake_input_method.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/dummy_input_method.cc
diff --git a/ui/base/ime/dummy_input_method.cc b/ui/base/ime/dummy_input_method.cc
index b9f69418b076a406c61f84097bda6b531a9a238a..b35313dc32cf4088ac4fea874f6ba1782e63d888 100644
--- a/ui/base/ime/dummy_input_method.cc
+++ b/ui/base/ime/dummy_input_method.cc
@@ -32,6 +32,9 @@ bool DummyInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event,
void DummyInputMethod::SetFocusedTextInputClient(TextInputClient* client) {
}
+void DummyInputMethod::DetachTextInputClient(TextInputClient* client) {
+}
+
TextInputClient* DummyInputMethod::GetTextInputClient() const {
return NULL;
}
« no previous file with comments | « ui/base/ime/dummy_input_method.h ('k') | ui/base/ime/fake_input_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698