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

Unified Diff: chrome/browser/chromeos/input_method/ibus_controller_impl.cc

Issue 12223084: Fix crash around Reset function call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/ibus_controller_impl.cc
diff --git a/chrome/browser/chromeos/input_method/ibus_controller_impl.cc b/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
index 13e4f947d64f411e195475ebbbb97605e0c3ca36..ed89c962c83aaaa1960ad37570d48d28701233d7 100644
--- a/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
+++ b/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
@@ -246,7 +246,7 @@ void IBusControllerImpl::Reset() {
return;
IBusInputContextClient* client
= DBusThreadManager::Get()->GetIBusInputContextClient();
- if (client)
+ if (client && client->IsObjectProxyReady())
satorux1 2013/02/13 01:07:43 please add some comment why we don't need to call
Seigo Nonaka 2013/02/13 01:17:55 Done.
client->Reset();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698