Bug 976394 - NS_QUERY_SELECTED_TEXT on e10s is sometimes wrong value. r=masayuki
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Tue, 25 Feb 2014 14:51:01 +0900
changeset 170678 ac32ace7a22e09be970836e581b2c67f9263d655
parent 170677 63efb2b87c921f5897a8e7e5d802dd66124e9d21
child 170679 dccc80373461374bc83e5e3595ec3e57a8c16023
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersmasayuki
bugs976394
milestone30.0a1
Bug 976394 - NS_QUERY_SELECTED_TEXT on e10s is sometimes wrong value. r=masayuki
widget/xpwidgets/PuppetWidget.cpp
--- a/widget/xpwidgets/PuppetWidget.cpp
+++ b/widget/xpwidgets/PuppetWidget.cpp
@@ -512,17 +512,17 @@ PuppetWidget::NotifyIMEOfUpdateCompositi
                                                   textRect.mReply.mRect,
                                                   caretRect.mReply.mRect);
   return NS_OK;
 }
 
 nsIMEUpdatePreference
 PuppetWidget::GetIMEUpdatePreference()
 {
-#ifdef MOZ_CROSS_PROESS_IME
+#ifdef MOZ_CROSS_PROCESS_IME
   // e10s requires IME information cache into TabParent
   return nsIMEUpdatePreference(mIMEPreferenceOfParent.mWantUpdates |
                                nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE |
                                nsIMEUpdatePreference::NOTIFY_TEXT_CHANGE);
 #else
   // B2G doesn't handle IME as widget-level.
   return nsIMEUpdatePreference();
 #endif