mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1071571 - Fix more bad implicit constructors in DOM; r=baku
--HG-- extra : rebase_source : 76a5802984faf0b63d9b86ab325428a397b0d27d
This commit is contained in:
parent
65c274e1f1
commit
e102dad79d
@ -26,7 +26,7 @@ class WebGLSampler MOZ_FINAL
|
||||
|
||||
public:
|
||||
|
||||
WebGLSampler(WebGLContext* context);
|
||||
explicit WebGLSampler(WebGLContext* aContext);
|
||||
|
||||
void Delete();
|
||||
WebGLContext* GetParentObject() const;
|
||||
|
@ -8,8 +8,9 @@
|
||||
#define WEBGLSTRONGTYPES_H_
|
||||
|
||||
#include "GLDefs.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/Assertions.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
// Usage:
|
||||
// ===========
|
||||
@ -132,8 +133,8 @@ public:
|
||||
AssertOnceThatEnumValuesAreSorted();
|
||||
}
|
||||
|
||||
StrongGLenum(GLenum val)
|
||||
: mValue(val)
|
||||
MOZ_IMPLICIT StrongGLenum(GLenum aVal)
|
||||
: mValue(aVal)
|
||||
{
|
||||
AssertOnceThatEnumValuesAreSorted();
|
||||
MOZ_ASSERT(IsValueLegal(mValue));
|
||||
|
@ -24,7 +24,7 @@ class WebGLSync MOZ_FINAL
|
||||
|
||||
public:
|
||||
|
||||
WebGLSync(WebGLContext* context);
|
||||
explicit WebGLSync(WebGLContext* aContext);
|
||||
|
||||
void Delete();
|
||||
WebGLContext* GetParentObject() const;
|
||||
|
@ -26,7 +26,7 @@ class WebGLTransformFeedback MOZ_FINAL
|
||||
|
||||
public:
|
||||
|
||||
WebGLTransformFeedback(WebGLContext* context);
|
||||
explicit WebGLTransformFeedback(WebGLContext* aContext);
|
||||
|
||||
void Delete();
|
||||
WebGLContext* GetParentObject() const;
|
||||
|
@ -32,7 +32,7 @@ public:
|
||||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIMOBILECONNECTION
|
||||
|
||||
MobileConnectionChild(uint32_t aServiceId);
|
||||
explicit MobileConnectionChild(uint32_t aServiceId);
|
||||
|
||||
void
|
||||
Init();
|
||||
|
Loading…
Reference in New Issue
Block a user