Title: [280194] trunk/Source/WTF
- Revision
- 280194
- Author
- [email protected]
- Date
- 2021-07-22 13:04:10 -0700 (Thu, 22 Jul 2021)
Log Message
Unreviewed, follow-up after r280193
https://bugs.webkit.org/show_bug.cgi?id=228142
I accidentally reverted auto change when switching branches.
* wtf/text/AtomStringImpl.cpp:
(WTF::UCharBufferTranslator::equal):
(WTF::LCharBufferTranslator::equal):
(WTF::BufferFromStaticDataTranslator::equal):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (280193 => 280194)
--- trunk/Source/WTF/ChangeLog 2021-07-22 19:18:45 UTC (rev 280193)
+++ trunk/Source/WTF/ChangeLog 2021-07-22 20:04:10 UTC (rev 280194)
@@ -1,5 +1,17 @@
2021-07-22 Yusuke Suzuki <[email protected]>
+ Unreviewed, follow-up after r280193
+ https://bugs.webkit.org/show_bug.cgi?id=228142
+
+ I accidentally reverted auto change when switching branches.
+
+ * wtf/text/AtomStringImpl.cpp:
+ (WTF::UCharBufferTranslator::equal):
+ (WTF::LCharBufferTranslator::equal):
+ (WTF::BufferFromStaticDataTranslator::equal):
+
+2021-07-22 Yusuke Suzuki <[email protected]>
+
Micro-optimize innerHTML
https://bugs.webkit.org/show_bug.cgi?id=228142
Modified: trunk/Source/WTF/wtf/text/AtomStringImpl.cpp (280193 => 280194)
--- trunk/Source/WTF/wtf/text/AtomStringImpl.cpp 2021-07-22 19:18:45 UTC (rev 280193)
+++ trunk/Source/WTF/wtf/text/AtomStringImpl.cpp 2021-07-22 20:04:10 UTC (rev 280194)
@@ -127,7 +127,7 @@
static bool equal(PackedPtr<StringImpl> const& str, const UCharBuffer& buf)
{
- StringImpl* impl = str.get();
+ auto* impl = str.get();
if (impl->existingHash() != buf.hash)
return false;
return WTF::equal(impl, buf.characters, buf.length);
@@ -310,7 +310,7 @@
static bool equal(PackedPtr<StringImpl> const& str, const LCharBuffer& buf)
{
- StringImpl* impl = str.get();
+ auto* impl = str.get();
if (impl->existingHash() != buf.hash)
return false;
return WTF::equal(impl, buf.characters, buf.length);
@@ -335,7 +335,7 @@
static bool equal(PackedPtr<StringImpl> const& str, const Buffer& buf)
{
- StringImpl* impl = str.get();
+ auto* impl = str.get();
if (impl->existingHash() != buf.hash)
return false;
return WTF::equal(impl, buf.characters, buf.length);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes