Reduce use of deprecatedCharacters in WebCore
[WebKit-https.git] / Source / WebCore / svg / SVGTransformList.cpp
index e3ee718..11e624d 100644 (file)
@@ -74,7 +74,8 @@ String SVGTransformList::valueAsString() const
 
 void SVGTransformList::parse(const String& transform)
 {
-    const UChar* start = transform.deprecatedCharacters();
+    auto upconvertedCharacters = StringView(transform).upconvertedCharacters();
+    const UChar* start = upconvertedCharacters;
     if (!SVGTransformable::parseTransformAttribute(*this, start, start + transform.length()))
         clear();
 }