Bug 1282408 - add ignore initialization check flag for variables from GlyphRunIterator. r=jrmuizel
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Thu, 28 Jul 2016 11:30:09 +0300
changeset 347053 b12ffedac68509b923e9df35ef392a84bda99a73
parent 347052 2b89d0c341aa54b599136c208d772583ea08ccd4
child 347054 f6de256937acf268062958a298c1fde5431ddf55
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1282408
milestone50.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 1282408 - add ignore initialization check flag for variables from GlyphRunIterator. r=jrmuizel MozReview-Commit-ID: 1KAlxDtZyMe
gfx/thebes/gfxTextRun.h
--- a/gfx/thebes/gfxTextRun.h
+++ b/gfx/thebes/gfxTextRun.h
@@ -462,19 +462,19 @@ public:
             mNextIndex = mTextRun->FindFirstGlyphRunContaining(aRange.start);
         }
         bool NextRun();
         const GlyphRun *GetGlyphRun() const { return mGlyphRun; }
         uint32_t GetStringStart() const { return mStringStart; }
         uint32_t GetStringEnd() const { return mStringEnd; }
     private:
         const gfxTextRun *mTextRun;
-        const GlyphRun   *mGlyphRun;
-        uint32_t    mStringStart;
-        uint32_t    mStringEnd;
+        MOZ_INIT_OUTSIDE_CTOR const GlyphRun   *mGlyphRun;
+        MOZ_INIT_OUTSIDE_CTOR uint32_t    mStringStart;
+        MOZ_INIT_OUTSIDE_CTOR uint32_t    mStringEnd;
         uint32_t    mNextIndex;
         uint32_t    mStartOffset;
         uint32_t    mEndOffset;
     };
 
     class GlyphRunOffsetComparator {
     public:
         bool Equals(const GlyphRun& a,