mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1060930 - Mark the HTML5 Parser constructors with one argument as explicit; r=hsivonen
--HG-- extra : rebase_source : a0ef07e58fc6db1c8ff87a2731a9a2070be57bda
This commit is contained in:
parent
64bff94e92
commit
34376c5abb
@ -74,7 +74,7 @@ class nsHtml5ElementName
|
||||
static int32_t bufToHash(char16_t* buf, int32_t len);
|
||||
nsHtml5ElementName(nsIAtom* name, nsIAtom* camelCaseName, int32_t flags);
|
||||
protected:
|
||||
nsHtml5ElementName(nsIAtom* name);
|
||||
explicit nsHtml5ElementName(nsIAtom* name);
|
||||
public:
|
||||
virtual void release();
|
||||
virtual ~nsHtml5ElementName();
|
||||
|
@ -66,7 +66,7 @@ class nsHtml5HtmlAttributes
|
||||
autoJArray<nsHtml5AttributeName*,int32_t> names;
|
||||
autoJArray<nsString*,int32_t> values;
|
||||
public:
|
||||
nsHtml5HtmlAttributes(int32_t mode);
|
||||
explicit nsHtml5HtmlAttributes(int32_t mode);
|
||||
~nsHtml5HtmlAttributes();
|
||||
int32_t getIndex(nsHtml5AttributeName* name);
|
||||
nsString* getValue(nsHtml5AttributeName* name);
|
||||
|
Loading…
Reference in New Issue
Block a user