Bug 1484496: Follow-up: Fix NoQueryNeeded assertion on Windows debug. r=bustage CLOSED TREE
authorKris Maglione <maglione.k@gmail.com>
Thu, 23 Aug 2018 16:05:29 -0700
changeset 488342 40ae82f3f8b57aa80f3891d09bc30fd8149af42f
parent 488341 9388b9926bc80f4aad52790da62a910528c58263
child 488343 eef3785a6b441e83d392c2569091e969e1eac658
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1484496
milestone63.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 1484496: Follow-up: Fix NoQueryNeeded assertion on Windows debug. r=bustage CLOSED TREE
gfx/thebes/gfxDWriteFontList.cpp
--- a/gfx/thebes/gfxDWriteFontList.cpp
+++ b/gfx/thebes/gfxDWriteFontList.cpp
@@ -1891,19 +1891,19 @@ public:
 private:
     BundledFontFileEnumerator() = delete;
     BundledFontFileEnumerator(const BundledFontFileEnumerator&) = delete;
     BundledFontFileEnumerator& operator=(const BundledFontFileEnumerator&) = delete;
     virtual ~BundledFontFileEnumerator() {}
 
     RefPtr<IDWriteFactory>      mFactory;
 
-    nsCOMPtr<nsIFile>             mFontDir;
-    nsCOMPtr<nsISimpleEnumerator> mEntries;
-    nsCOMPtr<nsISupports>         mCurrent;
+    nsCOMPtr<nsIFile>                mFontDir;
+    nsCOMPtr<nsIDirectoryEnumerator> mEntries;
+    nsCOMPtr<nsISupports>            mCurrent;
 };
 
 BundledFontFileEnumerator::BundledFontFileEnumerator(IDWriteFactory *aFactory,
                                                      nsIFile        *aFontDir)
     : mFactory(aFactory)
     , mFontDir(aFontDir)
 {
     mFontDir->GetDirectoryEntries(getter_AddRefs(mEntries));