Bug 1207233 - Add explicit to URLSearchParams ctor. r=bustage

This commit is contained in:
Andrew McCreight 2016-07-12 09:04:37 -07:00
parent 43bbac13b3
commit 9f969a70a2

View File

@ -141,8 +141,8 @@ public:
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(URLSearchParams)
URLSearchParams(nsISupports* aParent,
URLSearchParamsObserver* aObserver=nullptr);
explicit URLSearchParams(nsISupports* aParent,
URLSearchParamsObserver* aObserver=nullptr);
URLSearchParams(nsISupports* aParent,
const URLSearchParams& aOther);