Truly independent web browser
LibWeb: Hold the segments of a new CSSUnparsedValue conservatively
Shannon Booth9915c01fb840
diff --git a/Libraries/LibWeb/CSS/CSSUnparsedValue.cpp b/Libraries/LibWeb/CSS/CSSUnparsedValue.cppindex c6d4603d53e..8af3449be58 100644--- a/Libraries/LibWeb/CSS/CSSUnparsedValue.cpp+++ b/Libraries/LibWeb/CSS/CSSUnparsedValue.cpp@@ -20,7 +20,7 @@ GC_DEFINE_ALLOCATOR(CSSUnparsedValue);GC::Ref<CSSUnparsedValue> CSSUnparsedValue::create(ReadonlySpan<CSSUnparsedSegment> value){// NB: Convert our Span into a Vector of Refs.- Vector<CSSUnparsedSegment> converted_value;+ GC::ConservativeVector<CSSUnparsedSegment> converted_value;for (auto const& variant : value) {variant.visit([&](GC::Ref<CSSVariableReferenceValue> it) { converted_value.append(it); },