зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1060930 - Mark the HTML5 Parser constructors with one argument as explicit; r=hsivonen
--HG-- extra : rebase_source : a0ef07e58fc6db1c8ff87a2731a9a2070be57bda
This commit is contained in:
Родитель
64bff94e92
Коммит
34376c5abb
|
@ -74,7 +74,7 @@ class nsHtml5ElementName
|
||||||
static int32_t bufToHash(char16_t* buf, int32_t len);
|
static int32_t bufToHash(char16_t* buf, int32_t len);
|
||||||
nsHtml5ElementName(nsIAtom* name, nsIAtom* camelCaseName, int32_t flags);
|
nsHtml5ElementName(nsIAtom* name, nsIAtom* camelCaseName, int32_t flags);
|
||||||
protected:
|
protected:
|
||||||
nsHtml5ElementName(nsIAtom* name);
|
explicit nsHtml5ElementName(nsIAtom* name);
|
||||||
public:
|
public:
|
||||||
virtual void release();
|
virtual void release();
|
||||||
virtual ~nsHtml5ElementName();
|
virtual ~nsHtml5ElementName();
|
||||||
|
|
|
@ -66,7 +66,7 @@ class nsHtml5HtmlAttributes
|
||||||
autoJArray<nsHtml5AttributeName*,int32_t> names;
|
autoJArray<nsHtml5AttributeName*,int32_t> names;
|
||||||
autoJArray<nsString*,int32_t> values;
|
autoJArray<nsString*,int32_t> values;
|
||||||
public:
|
public:
|
||||||
nsHtml5HtmlAttributes(int32_t mode);
|
explicit nsHtml5HtmlAttributes(int32_t mode);
|
||||||
~nsHtml5HtmlAttributes();
|
~nsHtml5HtmlAttributes();
|
||||||
int32_t getIndex(nsHtml5AttributeName* name);
|
int32_t getIndex(nsHtml5AttributeName* name);
|
||||||
nsString* getValue(nsHtml5AttributeName* name);
|
nsString* getValue(nsHtml5AttributeName* name);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче