Title: [273428] trunk/Source/WebCore
Revision
273428
Author
commit-qu...@webkit.org
Date
2021-02-24 12:45:56 -0800 (Wed, 24 Feb 2021)

Log Message

Unreviewed, silence -Wreturn-type warnings from r273127
https://bugs.webkit.org/show_bug.cgi?id=221880
<rdar://problem/74509452>

Patch by Michael Catanzaro <mcatanz...@gnome.org> on 2021-02-24

* css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeRelativeRGBComponent):
(WebCore::CSSPropertyParserHelpers::HueColorAdjuster::fixupAnglesForInterpolation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (273427 => 273428)


--- trunk/Source/WebCore/ChangeLog	2021-02-24 20:32:37 UTC (rev 273427)
+++ trunk/Source/WebCore/ChangeLog	2021-02-24 20:45:56 UTC (rev 273428)
@@ -1,3 +1,13 @@
+2021-02-24  Michael Catanzaro  <mcatanz...@gnome.org>
+
+        Unreviewed, silence -Wreturn-type warnings from r273127
+        https://bugs.webkit.org/show_bug.cgi?id=221880
+        <rdar://problem/74509452>
+
+        * css/parser/CSSPropertyParserHelpers.cpp:
+        (WebCore::CSSPropertyParserHelpers::consumeRelativeRGBComponent):
+        (WebCore::CSSPropertyParserHelpers::HueColorAdjuster::fixupAnglesForInterpolation):
+
 2021-02-24  Antti Koivisto  <an...@apple.com>
 
         Move PostResolutionCallbackDisabler to resolveComputedStyle

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp (273427 => 273428)


--- trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp	2021-02-24 20:32:37 UTC (rev 273427)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp	2021-02-24 20:45:56 UTC (rev 273428)
@@ -882,6 +882,8 @@
         return WTF::nullopt;
     }
     }
+
+    RELEASE_ASSERT_NOT_REACHED();
 }
 
 static Color parseRelativeRGBParameters(CSSParserTokenRange& args, const CSSParserContext& context)
@@ -1526,6 +1528,8 @@
         case Type::Specified:
             return { theta1, theta2 };
         }
+
+        RELEASE_ASSERT_NOT_REACHED();
     }
 
     HueColorAdjuster(double value = 0.0, Type type = Type::Shorter)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to