Bug 1428371 - Add missing member initialization in InputContext. r=masayuki
authorEugen Sawin <esawin@mozilla.com>
Fri, 05 Jan 2018 08:28:00 -0500
changeset 452716 ed3d5e1ac8629ae1277a07552883e8f0a07e086c
parent 452715 dcc011bcccfd8277eef00d12084fd376d4e1097e
child 452717 b96fa0adc2b3af934e8ca3098278ee2bc78b1bd2
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmasayuki
bugs1428371
milestone59.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 1428371 - Add missing member initialization in InputContext. r=masayuki
widget/IMEData.h
--- a/widget/IMEData.h
+++ b/widget/IMEData.h
@@ -270,16 +270,17 @@ struct NativeIMEContext final
   }
 };
 
 struct InputContext final
 {
   InputContext()
     : mOrigin(XRE_IsParentProcess() ? ORIGIN_MAIN : ORIGIN_CONTENT)
     , mMayBeIMEUnaware(false)
+    , mHasHandledUserInput(false)
     , mInPrivateBrowsing(false)
   {
   }
 
   // If InputContext instance is a static variable, any heap allocated stuff
   // of its members need to be deleted at XPCOM shutdown.  Otherwise, it's
   // detected as memory leak.
   void ShutDown()