From 3e67f61e75c85a8de1cac340c238ad013296b181 Mon Sep 17 00:00:00 2001 From: Edwin Flores Date: Wed, 3 Jun 2015 14:28:56 +1200 Subject: [PATCH] Bug 1160445 - Add |explicit| to DetailedPromise constructor on a CLOSED TREE - r=bustage --- dom/media/eme/DetailedPromise.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/media/eme/DetailedPromise.h b/dom/media/eme/DetailedPromise.h index b8e1964c9b7b..99ab8c506c59 100644 --- a/dom/media/eme/DetailedPromise.h +++ b/dom/media/eme/DetailedPromise.h @@ -37,7 +37,7 @@ public: void MaybeReject(ErrorResult&, const nsCString& aReason); private: - DetailedPromise(nsIGlobalObject* aGlobal); + explicit DetailedPromise(nsIGlobalObject* aGlobal); virtual ~DetailedPromise(); bool mResponded;