Bug 1378042 - Part 2: Make WebIDLNameTableKey::mHash PLDHashNumber; r=baku
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 04 Jul 2017 00:49:18 -0400
changeset 367245 222b586254d3552bed0d296c7d80e7a01777e9df
parent 367244 22869b35bb11094d4ac6b7eb9c67b3bcda536ede
child 367246 3e2c76807c4c645e16c56830216cbfa341448c9c
push id92163
push usereakhgari@mozilla.com
push dateTue, 04 Jul 2017 15:09:27 +0000
treeherdermozilla-inbound@6d18b6984fc8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1378042
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1378042 - Part 2: Make WebIDLNameTableKey::mHash PLDHashNumber; r=baku
dom/bindings/WebIDLGlobalNameHash.cpp
--- a/dom/bindings/WebIDLGlobalNameHash.cpp
+++ b/dom/bindings/WebIDLGlobalNameHash.cpp
@@ -44,17 +44,17 @@ struct MOZ_STACK_CLASS WebIDLNameTableKe
   {
     MOZ_ASSERT(aString[aLength] == '\0');
   }
 
   Maybe<JS::AutoCheckCannotGC> mNogc;
   const char* mLatin1String;
   const char16_t* mTwoBytesString;
   size_t mLength;
-  uint32_t mHash;
+  PLDHashNumber mHash;
 };
 
 struct WebIDLNameTableEntry : public PLDHashEntryHdr
 {
   typedef const WebIDLNameTableKey& KeyType;
   typedef const WebIDLNameTableKey* KeyTypePointer;
 
   explicit WebIDLNameTableEntry(KeyTypePointer aKey)