Bug 1428371 - Add missing member initialization in InputContext. r=masayuki
authorEugen Sawin <esawin@mozilla.com>
Fri, 05 Jan 2018 08:28:00 -0500
changeset 450199 ed3d5e1ac8629ae1277a07552883e8f0a07e086c
parent 450198 dcc011bcccfd8277eef00d12084fd376d4e1097e
child 450200 b96fa0adc2b3af934e8ca3098278ee2bc78b1bd2
push id8527
push userCallek@gmail.com
push dateThu, 11 Jan 2018 21:05:50 +0000
treeherdermozilla-beta@95342d212a7a [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()