Index: Source/core/html/HTMLBodyElement.cpp |
diff --git a/Source/core/html/HTMLBodyElement.cpp b/Source/core/html/HTMLBodyElement.cpp |
index a0024d23c4b70c4f8b21b55a7e9c3544b83cfe5a..24a63600adc3a3bedee64127bfebf4116cab2944 100644 |
--- a/Source/core/html/HTMLBodyElement.cpp |
+++ b/Source/core/html/HTMLBodyElement.cpp |
@@ -69,7 +69,7 @@ void HTMLBodyElement::collectStyleForPresentationAttribute(const QualifiedName& |
if (name == backgroundAttr) { |
String url = stripLeadingAndTrailingHTMLSpaces(value); |
if (!url.isEmpty()) { |
- RefPtrWillBeRawPtr<CSSImageValue> imageValue = CSSImageValue::create(document().completeURL(url)); |
+ RefPtrWillBeRawPtr<CSSImageValue> imageValue = CSSImageValue::create(url, document().completeURL(url)); |
imageValue->setInitiator(localName()); |
style->setProperty(CSSProperty(CSSPropertyBackgroundImage, imageValue.release())); |
} |