Index: Source/core/dom/Attr.cpp |
diff --git a/Source/core/dom/Attr.cpp b/Source/core/dom/Attr.cpp |
index 20101680740a38b33695e1aae371291c9c9eccfc..5f99182f0ff82ec8269e354bcdd2dd0b51e550ea 100644 |
--- a/Source/core/dom/Attr.cpp |
+++ b/Source/core/dom/Attr.cpp |
@@ -191,7 +191,7 @@ CSSStyleDeclaration* Attr::style() |
if (!m_element || !m_element->isStyledElement()) |
return 0; |
m_style = MutableStylePropertySet::create(); |
- static_cast<StyledElement*>(m_element)->collectStyleForPresentationAttribute(qualifiedName(), value(), static_cast<MutableStylePropertySet*>(m_style.get())); |
+ static_cast<StyledElement*>(m_element)->collectStyleForPresentationAttribute(qualifiedName(), value(), m_style.get()); |
return m_style->ensureCSSStyleDeclaration(); |
} |