Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1001)

Unified Diff: third_party/WebKit/Source/wtf/HashFunctions.h

Issue 2257683002: Rename WTF::bitwise_cast to WTF::bitwiseCast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/BitVector.cpp ('k') | third_party/WebKit/Source/wtf/StdLibExtras.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/HashFunctions.h
diff --git a/third_party/WebKit/Source/wtf/HashFunctions.h b/third_party/WebKit/Source/wtf/HashFunctions.h
index 569282b3f780f291ff10230d0b190f7cea5e2576..362cf9469dcdb669d1c9bf500397a739786e6d87 100644
--- a/third_party/WebKit/Source/wtf/HashFunctions.h
+++ b/third_party/WebKit/Source/wtf/HashFunctions.h
@@ -111,11 +111,11 @@ template <typename T> struct FloatHash {
typedef typename IntTypes<sizeof(T)>::UnsignedType Bits;
static unsigned hash(T key)
{
- return hashInt(bitwise_cast<Bits>(key));
+ return hashInt(bitwiseCast<Bits>(key));
}
static bool equal(T a, T b)
{
- return bitwise_cast<Bits>(a) == bitwise_cast<Bits>(b);
+ return bitwiseCast<Bits>(a) == bitwiseCast<Bits>(b);
}
static const bool safeToCompareToEmptyOrDeleted = true;
};
« no previous file with comments | « third_party/WebKit/Source/wtf/BitVector.cpp ('k') | third_party/WebKit/Source/wtf/StdLibExtras.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698