Bug 1322465 part 13 - Use explicit/MOZ_IMPLICIT for the unary constructors in uriloader/. r=Ehsan

MozReview-Commit-ID: HYBIvXjgKa0

--HG--
extra : rebase_source : 50e0d425691c4dd8d88415e674a2d919891b455f
This commit is contained in:
Ting-Yu Chou 2016-12-16 15:59:25 +08:00
Родитель 8a91298c2f
Коммит 561a80e1cd
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -14,14 +14,14 @@ class nsMIMEInfoWin : public nsMIMEInfoBase, public nsIPropertyBag {
virtual ~nsMIMEInfoWin();
public:
nsMIMEInfoWin(const char* aType = "") : nsMIMEInfoBase(aType) {}
nsMIMEInfoWin(const nsACString& aMIMEType) : nsMIMEInfoBase(aMIMEType) {}
explicit nsMIMEInfoWin(const char* aType = "") : nsMIMEInfoBase(aType) {}
explicit nsMIMEInfoWin(const nsACString& aMIMEType) : nsMIMEInfoBase(aMIMEType) {}
nsMIMEInfoWin(const nsACString& aType, HandlerClass aClass) :
nsMIMEInfoBase(aType, aClass) {}
NS_IMETHOD LaunchWithFile(nsIFile* aFile);
NS_IMETHOD GetHasDefaultHandler(bool * _retval);
NS_IMETHOD GetPossibleLocalHandlers(nsIArray **_retval);
NS_IMETHOD GetPossibleLocalHandlers(nsIArray **_retval);
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIPROPERTYBAG