瀏覽代碼

LibWeb/CSS: Add missing parameter to CSSStyleValue::to_string() calls

Sam Atkins 6 月之前
父節點
當前提交
e318316af7
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Libraries/LibWeb/CSS/Parser/RuleParsing.cpp

+ 3 - 3
Libraries/LibWeb/CSS/Parser/RuleParsing.cpp

@@ -667,7 +667,7 @@ GC::Ptr<CSSFontFaceRule> Parser::convert_to_font_face_rule(AtRule const& rule)
                     if (value.has_value()) {
                     if (value.has_value()) {
                         font_display = *value;
                         font_display = *value;
                     } else {
                     } else {
-                        dbgln_if(CSS_PARSER_DEBUG, "CSSParser: `{}` is not a valid value for font-display", keyword_value->to_string());
+                        dbgln_if(CSS_PARSER_DEBUG, "CSSParser: `{}` is not a valid value for font-display", keyword_value->to_string(CSSStyleValue::SerializationMode::Normal));
                     }
                     }
                 }
                 }
             }
             }
@@ -746,7 +746,7 @@ GC::Ptr<CSSFontFaceRule> Parser::convert_to_font_face_rule(AtRule const& rule)
                     }
                     }
                     font_feature_settings = move(settings);
                     font_feature_settings = move(settings);
                 } else {
                 } else {
-                    dbgln_if(CSS_PARSER_DEBUG, "CSSParser: Failed to parse font-feature-settings descriptor, not compatible with value returned from parsing font-feature-settings property: {}", value.value()->to_string());
+                    dbgln_if(CSS_PARSER_DEBUG, "CSSParser: Failed to parse font-feature-settings descriptor, not compatible with value returned from parsing font-feature-settings property: {}", value.value()->to_string(CSSStyleValue::SerializationMode::Normal));
                 }
                 }
             }
             }
             return;
             return;
@@ -820,7 +820,7 @@ GC::Ptr<CSSFontFaceRule> Parser::convert_to_font_face_rule(AtRule const& rule)
                     }
                     }
                     font_variation_settings = move(settings);
                     font_variation_settings = move(settings);
                 } else {
                 } else {
-                    dbgln_if(CSS_PARSER_DEBUG, "CSSParser: Failed to parse font-variation-settings descriptor, not compatible with value returned from parsing font-variation-settings property: {}", value.value()->to_string());
+                    dbgln_if(CSS_PARSER_DEBUG, "CSSParser: Failed to parse font-variation-settings descriptor, not compatible with value returned from parsing font-variation-settings property: {}", value.value()->to_string(CSSStyleValue::SerializationMode::Normal));
                 }
                 }
             }
             }
             return;
             return;