Bug 1397626: Add missing explicit. r=me
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 04 Oct 2017 14:16:00 +0200
changeset 427072 00f3a339b1976a9942a7ef04c9ac6a9d4204aee8
parent 427071 d49cf4aed3350dff668d64a2cf86ce64e6c7a2df
child 427073 8b73c2cd90b609f1cc2a4833e799389aa5b3eb78
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersme
bugs1397626
milestone58.0a1
Bug 1397626: Add missing explicit. r=me MozReview-Commit-ID: GdZKJgv5NUh
gfx/thebes/gfxFontFamilyList.h
--- a/gfx/thebes/gfxFontFamilyList.h
+++ b/gfx/thebes/gfxFontFamilyList.h
@@ -285,17 +285,17 @@ public:
     }
 
     FontFamilyList(const FontFamilyList& aOther)
         : mFontlist(aOther.mFontlist)
         , mDefaultFontType(aOther.mDefaultFontType)
     {
     }
 
-    FontFamilyList(NotNull<SharedFontList*> aFontList)
+    explicit FontFamilyList(NotNull<SharedFontList*> aFontList)
         : mFontlist(aFontList)
         , mDefaultFontType(eFamily_none)
     {
     }
 
     void SetFontlist(nsTArray<FontFamilyName>&& aNames)
     {
         mFontlist = WrapNotNull(new SharedFontList(Move(aNames)));