Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 2ea7ef9c78da0a9fa21faf7cd70009af0972b3a5..38e67adf5b909a19991f0a33c2b474a644645781 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -907,7 +907,7 @@ PassRefPtr<Text> Document::createEditingTextNode(const String& text) |
PassRefPtr<CSSStyleDeclaration> Document::createCSSStyleDeclaration() |
{ |
- return StylePropertySet::create()->ensureCSSStyleDeclaration(); |
+ return MutableStylePropertySet::create()->ensureCSSStyleDeclaration(); |
} |
PassRefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionCode& ec) |