Bug 801989 part.7 Set InputContext::mNativeIMEContext on Gonk r=cjones
authorMasayuki Nakano <masayuki@d-toybox.com>
Sat, 27 Oct 2012 08:35:21 +0900
changeset 111588 19a8337465acd5788d0dfb6ac87c4b02831aaa50
parent 111587 6bb7b517fcb3a1973041fe357163fb77e29e579b
child 111589 eace14fccc472a3c7dc416e402fabc5447db05e0
push id23756
push userryanvm@gmail.com
push dateSat, 27 Oct 2012 20:39:25 +0000
treeherdermozilla-central@c5428231b6f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs801989
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 801989 part.7 Set InputContext::mNativeIMEContext on Gonk r=cjones
widget/gonk/nsWindow.cpp
--- a/widget/gonk/nsWindow.cpp
+++ b/widget/gonk/nsWindow.cpp
@@ -512,16 +512,18 @@ nsWindow::SetInputContext(const InputCon
                           const InputContextAction& aAction)
 {
     mInputContext = aContext;
 }
 
 NS_IMETHODIMP_(InputContext)
 nsWindow::GetInputContext()
 {
+    // There is only one IME context on Gonk.
+    mInputContext.mNativeIMEContext = nullptr;
     return mInputContext;
 }
 
 NS_IMETHODIMP
 nsWindow::ReparentNativeWidget(nsIWidget* aNewParent)
 {
     return NS_OK;
 }