Bug 1060982 - Fix more bad implicit constructors in the HTML parser; r=hsivonen

This commit is contained in:
Ehsan Akhgari
2014-09-01 18:04:20 -04:00
parent 0bbd5a5015
commit 7cea6a9bcc
6 changed files with 10 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ class nsHtml5OwningUTF16Buffer : public nsHtml5UTF16Buffer
/**
* Passes a buffer and its length to the superclass constructor.
*/
nsHtml5OwningUTF16Buffer(char16_t* aBuffer);
explicit nsHtml5OwningUTF16Buffer(char16_t* aBuffer);
public:
@@ -22,7 +22,7 @@ class nsHtml5OwningUTF16Buffer : public nsHtml5UTF16Buffer
* Constructor for a parser key placeholder. (No actual buffer.)
* @param aKey a parser key
*/
nsHtml5OwningUTF16Buffer(void* aKey);
explicit nsHtml5OwningUTF16Buffer(void* aKey);
protected:
/**