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 a1e71148e69cbcde6f7da7abe247204457c31ca4..898689b3ca108dc5ad5d79362f661d30b8d2c452 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp |
@@ -1266,9 +1266,8 @@ static CSSValue* consumeGeneratedImage(CSSParserTokenRange& range, |
static CSSValue* createCSSImageValueWithReferrer( |
const AtomicString& rawValue, |
const CSSParserContext* context) { |
- CSSValue* imageValue = |
- CSSImageValue::create(rawValue, context->completeURL(rawValue)); |
- toCSSImageValue(imageValue)->setReferrer(context->referrer()); |
+ CSSValue* imageValue = CSSImageValue::create( |
+ rawValue, context->completeURL(rawValue), context->referrer()); |
return imageValue; |
} |