Bug 1305674 - initialize mUpdateCueDisplayDispatched. r=mrbkap
authorPaul Bignier <paul.bignier@gmail.com>
Tue, 27 Sep 2016 12:19:17 +0200
changeset 315827 14ed574a5c7c5515efb306bdb19f726073725993
parent 315826 a70dda2a48b40683107eacf133e4ba27cf86dba1
child 315828 e4f89ad97215bf1c9b90d0bb3ad6d1961b38e170
push id30757
push usercbook@mozilla.com
push dateFri, 30 Sep 2016 10:02:43 +0000
treeherdermozilla-central@5ffed033557e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmrbkap
bugs1305674
milestone52.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 1305674 - initialize mUpdateCueDisplayDispatched. r=mrbkap * There is no visible initializer function to that class so the variable could be accessed to, uninitialized
dom/html/TextTrackManager.cpp
--- a/dom/html/TextTrackManager.cpp
+++ b/dom/html/TextTrackManager.cpp
@@ -96,16 +96,17 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(TextTra
 
 StaticRefPtr<nsIWebVTTParserWrapper> TextTrackManager::sParserWrapper;
 
 TextTrackManager::TextTrackManager(HTMLMediaElement *aMediaElement)
   : mMediaElement(aMediaElement)
   , mHasSeeked(false)
   , mLastTimeMarchesOnCalled(0.0)
   , mTimeMarchesOnDispatched(false)
+  , mUpdateCueDisplayDispatched(false)
   , performedTrackSelection(false)
   , mCueTelemetryReported(false)
   , mShutdown(false)
 {
   nsISupports* parentObject =
     mMediaElement->OwnerDoc()->GetParentObject();
 
   NS_ENSURE_TRUE_VOID(parentObject);