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

Unified Diff: third_party/WebKit/Source/wtf/BitVector.cpp

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.h ('k') | third_party/WebKit/Source/wtf/HashFunctions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/BitVector.cpp
diff --git a/third_party/WebKit/Source/wtf/BitVector.cpp b/third_party/WebKit/Source/wtf/BitVector.cpp
index 1523e4d173c6786483849db2f5b24932c4828a4c..2a6362eeba34b1523354a2244a71b1f1b6d98c0d 100644
--- a/third_party/WebKit/Source/wtf/BitVector.cpp
+++ b/third_party/WebKit/Source/wtf/BitVector.cpp
@@ -42,7 +42,7 @@ void BitVector::setSlow(const BitVector& other)
} else {
OutOfLineBits* newOutOfLineBits = OutOfLineBits::create(other.size());
memcpy(newOutOfLineBits->bits(), other.bits(), byteCount(other.size()));
- newBitsOrPointer = bitwise_cast<uintptr_t>(newOutOfLineBits) >> 1;
+ newBitsOrPointer = bitwiseCast<uintptr_t>(newOutOfLineBits) >> 1;
}
if (!isInline())
OutOfLineBits::destroy(outOfLineBits());
@@ -108,7 +108,7 @@ void BitVector::resizeOutOfLine(size_t numBits)
}
OutOfLineBits::destroy(outOfLineBits());
}
- m_bitsOrPointer = bitwise_cast<uintptr_t>(newOutOfLineBits) >> 1;
+ m_bitsOrPointer = bitwiseCast<uintptr_t>(newOutOfLineBits) >> 1;
}
void BitVector::dump(PrintStream& out)
« no previous file with comments | « third_party/WebKit/Source/wtf/BitVector.h ('k') | third_party/WebKit/Source/wtf/HashFunctions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698