Title: [278639] trunk/Source/WebCore
Revision
278639
Author
[email protected]
Date
2021-06-08 18:48:23 -0700 (Tue, 08 Jun 2021)

Log Message

Unreviewed, fix new -Wreturn-type warning
https://bugs.webkit.org/show_bug.cgi?id=226718
<rdar://problem/78947485>

Patch by Michael Catanzaro <[email protected]> on 2021-06-08

* rendering/HighlightData.cpp:
(WebCore::HighlightData::rangeForTextBox):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (278638 => 278639)


--- trunk/Source/WebCore/ChangeLog	2021-06-09 01:12:12 UTC (rev 278638)
+++ trunk/Source/WebCore/ChangeLog	2021-06-09 01:48:23 UTC (rev 278639)
@@ -1,3 +1,12 @@
+2021-06-08  Michael Catanzaro  <[email protected]>
+
+        Unreviewed, fix new -Wreturn-type warning
+        https://bugs.webkit.org/show_bug.cgi?id=226718
+        <rdar://problem/78947485>
+
+        * rendering/HighlightData.cpp:
+        (WebCore::HighlightData::rangeForTextBox):
+
 2021-06-08  Jean-Yves Avenard  <[email protected]>
 
         [MSE] Assertion if attempting to perform eviction before playback starts.

Modified: trunk/Source/WebCore/rendering/HighlightData.cpp (278638 => 278639)


--- trunk/Source/WebCore/rendering/HighlightData.cpp	2021-06-09 01:12:12 UTC (rev 278638)
+++ trunk/Source/WebCore/rendering/HighlightData.cpp	2021-06-09 01:48:23 UTC (rev 278639)
@@ -191,6 +191,8 @@
     case RenderObject::HighlightState::None:
         return { 0, 0 };
     };
+
+    RELEASE_ASSERT_NOT_REACHED();
 }
 
 } // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to