Bug 1048245 - Fix more bad implicit constructors in image; r=jrmuizel

This commit is contained in:
Ehsan Akhgari 2014-08-05 17:58:18 -04:00
parent 66fae4b9c6
commit 7cc69e8d3a
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ MOZ_END_ENUM_CLASS(Flip)
*/
struct Orientation
{
Orientation(Angle aRotation = Angle::D0, Flip mFlip = Flip::Unflipped)
explicit Orientation(Angle aRotation = Angle::D0, Flip mFlip = Flip::Unflipped)
: rotation(aRotation)
, flip(mFlip)
{ }

View File

@ -399,7 +399,7 @@ class ProxyListener : public nsIStreamListener
, public nsIThreadRetargetableStreamListener
{
public:
ProxyListener(nsIStreamListener *dest);
explicit ProxyListener(nsIStreamListener *dest);
/* additional members */
NS_DECL_ISUPPORTS

View File

@ -50,7 +50,7 @@ class imgRequest : public nsIStreamListener,
public:
typedef mozilla::image::ImageURL ImageURL;
imgRequest(imgLoader* aLoader);
explicit imgRequest(imgLoader* aLoader);
NS_DECL_THREADSAFE_ISUPPORTS