Index: Source/core/css/resolver/StyleBuilderCustom.cpp |
diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp |
index a4e8a8485a6b414d6eaa16221cb798eb5368150e..8743c523d2256a9a7e62297941339e7ed722053e 100644 |
--- a/Source/core/css/resolver/StyleBuilderCustom.cpp |
+++ b/Source/core/css/resolver/StyleBuilderCustom.cpp |
@@ -1385,7 +1385,7 @@ void StyleBuilder::oldApplyProperty(CSSPropertyID id, StyleResolverState& state, |
state.parentStyle()->setUnique(); |
QualifiedName attr(nullAtom, contentValue->getStringValue().impl(), nullAtom); |
const AtomicString& value = state.element()->getAttribute(attr); |
- state.style()->setContent(value.isNull() ? emptyAtom : value.impl(), didSet); |
+ state.style()->setContent(value.isNull() ? emptyString() : value.string(), didSet); |
didSet = true; |
// register the fact that the attribute value affects the style |
state.contentAttrValues().append(attr.localName()); |