Index: third_party/WebKit/Source/core/css/CSSImageValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSImageValue.cpp b/third_party/WebKit/Source/core/css/CSSImageValue.cpp |
index dfcdb3f6b11dd54bdf5374f25d2fceb053d00793..d8cc8958b96d803b005e4ed78d3d55888ee28122 100644 |
--- a/third_party/WebKit/Source/core/css/CSSImageValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.cpp |
@@ -108,8 +108,7 @@ bool CSSImageValue::equals(const CSSImageValue& other) const |
String CSSImageValue::customCSSText() const |
{ |
- // TODO(nainar): Serialise with quotation marks to match spec: https://drafts.csswg.org/cssom/#serialize-a-url |
- return "url(" + quoteCSSURLIfNeeded(serializeStringWithoutQuotations(m_relativeURL)) + ")"; |
+ return serializeURI(m_relativeURL); |
} |
bool CSSImageValue::knownToBeOpaque(const LayoutObject* layoutObject) const |