| Index: Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| diff --git a/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| index 4ff194363e6d3b2e1bb460f54bee6e15d56ea09d..633e2843f3d7b55bf897fea7315cd06db2d63a74 100644
|
| --- a/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| +++ b/Source/core/css/parser/LegacyCSSPropertyParser.cpp
|
| @@ -271,7 +271,7 @@ inline PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSPropertyParser::createPrimit
|
| return cssValuePool().createValue(value->string, CSSPrimitiveValue::UnitType::CustomIdentifier);
|
| }
|
|
|
| -inline PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::createCSSImageValueWithReferrer(const String& rawValue, const KURL& url)
|
| +inline PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::createCSSImageValueWithReferrer(const AtomicString& rawValue, const KURL& url)
|
| {
|
| RefPtrWillBeRawPtr<CSSValue> imageValue = CSSImageValue::create(rawValue, url);
|
| toCSSImageValue(imageValue.get())->setReferrer(m_context.referrer());
|
| @@ -533,7 +533,7 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import
|
| while (value) {
|
| RefPtrWillBeRawPtr<CSSValue> image = nullptr;
|
| if (value->unit() == CSSPrimitiveValue::UnitType::URI) {
|
| - String uri = value->string;
|
| + AtomicString uri = value->string;
|
| if (!uri.isNull())
|
| image = createCSSImageValueWithReferrer(uri, completeURL(uri));
|
| } else if (value->m_unit == CSSParserValue::Function && value->function->id == CSSValueWebkitImageSet) {
|
|
|