Title: [294162] trunk/Source/WebCore
Revision
294162
Author
[email protected]
Date
2022-05-13 10:21:06 -0700 (Fri, 13 May 2022)

Log Message

-Wreturn-type warning in PathOperation.cpp
https://bugs.webkit.org/show_bug.cgi?id=240383

Patch by Michael Catanzaro <[email protected]> on 2022-05-13
Reviewed by Chris Dumez.

* Source/WebCore/rendering/PathOperation.cpp:
(WebCore::RayPathOperation::lengthForPath const):

Canonical link: https://commits.webkit.org/250531@main

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (294161 => 294162)


--- trunk/Source/WebCore/ChangeLog	2022-05-13 17:05:55 UTC (rev 294161)
+++ trunk/Source/WebCore/ChangeLog	2022-05-13 17:21:06 UTC (rev 294162)
@@ -1,3 +1,13 @@
+2022-05-13  Michael Catanzaro  <[email protected]>
+
+        -Wreturn-type warning in PathOperation.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=240383
+
+        Reviewed by Chris Dumez.
+
+        * rendering/PathOperation.cpp:
+        (WebCore::RayPathOperation::lengthForPath const):
+
 2022-05-13  Tim Horton  <[email protected]>
 
         Add UI-side layers for optionally indicating interaction regions

Modified: trunk/Source/WebCore/rendering/PathOperation.cpp (294161 => 294162)


--- trunk/Source/WebCore/rendering/PathOperation.cpp	2022-05-13 17:05:55 UTC (rev 294161)
+++ trunk/Source/WebCore/rendering/PathOperation.cpp	2022-05-13 17:21:06 UTC (rev 294162)
@@ -67,6 +67,7 @@
     case Size::Sides:
         return lengthOfRayIntersectionWithBoundingBox(boundingBox, std::make_pair(m_position, m_angle));
     }
+    RELEASE_ASSERT_NOT_REACHED();
 }
 
 const Path RayPathOperation::pathForReferenceRect() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to