Fix crash around Reset function call.
There is timing issue around initialization, if the InputContext is initialized after InputMethodManager, Reset function will be called with NULL object proxy. This cause a crash. If the object proxy is not ready, calling Reset is not necessary. So just doing nothing is fine. BUG=174248 TEST=None Review URL: https://chromiumcodereview.appspot.com/12223084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182147 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment