Index: Source/core/inspector/InspectorStyleSheet.cpp |
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp |
index b7b707b1933106c8c3e35b19c86556aba8d3bcb5..144934b7e9d7546187ee1cf333283795c1282b30 100644 |
--- a/Source/core/inspector/InspectorStyleSheet.cpp |
+++ b/Source/core/inspector/InspectorStyleSheet.cpp |
@@ -1730,7 +1730,7 @@ bool InspectorStyleSheetForInlineStyle::setStyleText(CSSStyleDeclaration* style, |
{ |
InspectorCSSAgent::InlineStyleOverrideScope overrideScope(m_element->ownerDocument()); |
- m_element->setAttribute("style", text, exceptionState); |
+ m_element->setAttribute("style", AtomicString(text), exceptionState); |
} |
m_styleText = text; |