Bug 1352082 - Avoid shifting a signed integer left in C++.

Tag UXP Issue #1344
This commit is contained in:
Gaming4JC 2020-01-18 10:35:50 -05:00 • committed by Roy Tam
commit a5448058ba
4 changed files with 10 additions and 10 deletions

View file

@ -73,7 +73,7 @@ class nsHtml5ElementName
bool isCustom();
static nsHtml5ElementName* elementNameByBuffer(char16_t* buf, int32_t offset, int32_t length, nsHtml5AtomTable* interner);
private:
static int32_t bufToHash(char16_t* buf, int32_t len);
static uint32_t bufToHash(char16_t* buf, int32_t len);
nsHtml5ElementName(nsIAtom* name, nsIAtom* camelCaseName, int32_t flags);
protected:
explicit nsHtml5ElementName(nsIAtom* name);