Bug 1379290 follow-up: Fix typo, DONTBUILD
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 19 Jul 2017 00:26:10 -0400
changeset 418328 2604d9b17f09e6f4adc63814dfbdcb8402c6b8c1
parent 418327 b0bdb045b7ec192f0c129b161c865552d8f5cc53
child 418329 06a1ba17bbaa7794c27927ed7f0e01f576ce263f
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1379290
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 1379290 follow-up: Fix typo, DONTBUILD
mfbt/HashFunctions.h
--- a/mfbt/HashFunctions.h
+++ b/mfbt/HashFunctions.h
@@ -169,17 +169,17 @@ AddToHash(uint32_t aHash, A* aA)
 
   static_assert(sizeof(aA) == sizeof(uintptr_t), "Strange pointer!");
 
   return detail::AddUintptrToHash<sizeof(uintptr_t)>(aHash, uintptr_t(aA));
 }
 
 // We use AddUintptrToHash() for hashing all integral types.  8-byte integral types
 // are treated the same as 64-bit pointers, and smaller integral types are first
-// implicitly converted to 32 bits and then passed to AddUintptrToHash() to be hased.
+// implicitly converted to 32 bits and then passed to AddUintptrToHash() to be hashed.
 template<typename T,
          typename U = typename mozilla::EnableIf<mozilla::IsIntegral<T>::value>::Type>
 MOZ_MUST_USE inline uint32_t
 AddToHash(uint32_t aHash, T aA)
 {
   return detail::AddUintptrToHash<sizeof(T)>(aHash, aA);
 }