| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| index 20e37e65827ad6ff0ef1e92f28b456e38a8ff695..4b438c255c3c38532d465dcd251db3d9ab353d5b 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| @@ -376,11 +376,13 @@ StringView consumeUrlAsStringView(CSSParserTokenRange& range) {
|
| return StringView();
|
| }
|
|
|
| -CSSURIValue* consumeUrl(CSSParserTokenRange& range) {
|
| +CSSURIValue* consumeUrl(CSSParserTokenRange& range,
|
| + const CSSParserContext* context) {
|
| StringView url = consumeUrlAsStringView(range);
|
| if (url.isNull())
|
| return nullptr;
|
| - return CSSURIValue::create(url.toString());
|
| + String urlString = url.toString();
|
| + return CSSURIValue::create(urlString, context->completeURL(urlString));
|
| }
|
|
|
| static int clampRGBComponent(const CSSPrimitiveValue& value) {
|
|
|