Title: [289254] trunk/Source/WTF
Revision
289254
Author
[email protected]
Date
2022-02-07 17:45:48 -0800 (Mon, 07 Feb 2022)

Log Message

WTF::HashAndUTF8CharactersTranslator::translate() falls through ASSERT_NOT_REACHED()
<https://webkit.org/b/234944>
<rdar://problem/87230618>

Reviewed by Darin Adler.

* wtf/text/AtomStringImpl.cpp:
(WTF::HashAndUTF8CharactersTranslator::translate):
- Change ASSERT_NOT_REACHED() to RELEASE_ASSERT_NOT_REACHED().

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (289253 => 289254)


--- trunk/Source/WTF/ChangeLog	2022-02-08 01:33:43 UTC (rev 289253)
+++ trunk/Source/WTF/ChangeLog	2022-02-08 01:45:48 UTC (rev 289254)
@@ -1,3 +1,15 @@
+2022-02-07  David Kilzer  <[email protected]>
+
+        WTF::HashAndUTF8CharactersTranslator::translate() falls through ASSERT_NOT_REACHED()
+        <https://webkit.org/b/234944>
+        <rdar://problem/87230618>
+
+        Reviewed by Darin Adler.
+
+        * wtf/text/AtomStringImpl.cpp:
+        (WTF::HashAndUTF8CharactersTranslator::translate):
+        - Change ASSERT_NOT_REACHED() to RELEASE_ASSERT_NOT_REACHED().
+
 2022-02-07  Commit Queue  <[email protected]>
 
         Unreviewed, reverting r289239.

Modified: trunk/Source/WTF/wtf/text/AtomStringImpl.cpp (289253 => 289254)


--- trunk/Source/WTF/wtf/text/AtomStringImpl.cpp	2022-02-08 01:33:43 UTC (rev 289253)
+++ trunk/Source/WTF/wtf/text/AtomStringImpl.cpp	2022-02-08 01:45:48 UTC (rev 289254)
@@ -197,7 +197,7 @@
         bool isAllASCII;
         const char* source = buffer.characters;
         if (!convertUTF8ToUTF16(source, source + buffer.length, &target, target + buffer.utf16Length, &isAllASCII))
-            ASSERT_NOT_REACHED();
+            RELEASE_ASSERT_NOT_REACHED();
 
         if (isAllASCII)
             newString = StringImpl::create(buffer.characters, buffer.length);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to