From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- layout/style/ServoCSSParser.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'layout/style/ServoCSSParser.cpp') diff --git a/layout/style/ServoCSSParser.cpp b/layout/style/ServoCSSParser.cpp index 92e1271f2c..89f17f1733 100644 --- a/layout/style/ServoCSSParser.cpp +++ b/layout/style/ServoCSSParser.cpp @@ -32,6 +32,16 @@ bool ServoCSSParser::ComputeColor(ServoStyleSet* aStyleSet, aWasCurrentColor, aLoader); } +/* static */ +bool ServoCSSParser::ColorTo(const nsACString& aFromColor, + const nsACString& aToColorSpace, + nsACString* aResultColor, + nsTArray* aResultComponents, + bool* aResultAdjusted, css::Loader* aLoader) { + return Servo_ColorTo(&aFromColor, &aToColorSpace, aResultColor, + aResultComponents, aResultAdjusted, aLoader); +} + /* static */ already_AddRefed ServoCSSParser::ParseProperty( nsCSSPropertyID aProperty, const nsACString& aValue, -- cgit v1.2.3