Bug 1137561 - Follow up VS2015 build error. r=masayuki
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Thu, 17 Mar 2016 13:56:15 +0900
changeset 312899 22b32ab5ce8f779b35b664d6114ab5cf5f9a9f77
parent 312898 b569aa5415cab20998ceb7f34363e4aca14aef4c
child 312900 a989025d727f70b7c0a709e5658d58ab0eb9ee4d
push id9480
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 17:12:58 +0000
treeherdermozilla-aurora@0d6a91c76a9e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmasayuki
bugs1137561
milestone48.0a1
Bug 1137561 - Follow up VS2015 build error. r=masayuki MozReview-Commit-ID: 52ccdKvzVbK
widget/windows/IMMHandler.cpp
--- a/widget/windows/IMMHandler.cpp
+++ b/widget/windows/IMMHandler.cpp
@@ -1261,17 +1261,17 @@ IMMHandler::OnCharOnPlugin(nsWindow* aWi
 /****************************************************************************
  * others
  ****************************************************************************/
 
 TextEventDispatcher*
 IMMHandler::GetTextEventDispatcherFor(nsWindow* aWindow)
 {
   return aWindow == mComposingWindow && mDispatcher ?
-    mDispatcher : aWindow->GetTextEventDispatcher();
+    mDispatcher.get() : aWindow->GetTextEventDispatcher();
 }
 
 void
 IMMHandler::HandleStartComposition(nsWindow* aWindow,
                                    const IMEContext& aContext)
 {
   NS_PRECONDITION(!mIsComposing,
     "HandleStartComposition is called but mIsComposing is TRUE");