mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1048245 - Fix more bad implicit constructors in image; r=jrmuizel
This commit is contained in:
parent
66fae4b9c6
commit
7cc69e8d3a
@ -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)
|
||||
{ }
|
||||
|
@ -399,7 +399,7 @@ class ProxyListener : public nsIStreamListener
|
||||
, public nsIThreadRetargetableStreamListener
|
||||
{
|
||||
public:
|
||||
ProxyListener(nsIStreamListener *dest);
|
||||
explicit ProxyListener(nsIStreamListener *dest);
|
||||
|
||||
/* additional members */
|
||||
NS_DECL_ISUPPORTS
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user