Index: Source/core/css/StylePropertySet.cpp |
diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp |
index 9ce1c282f8d01c821e9f4127058ca88a80864b1d..c1e5893137ce023448a6eafc49d029ed8e6cedc3 100644 |
--- a/Source/core/css/StylePropertySet.cpp |
+++ b/Source/core/css/StylePropertySet.cpp |
@@ -508,7 +508,7 @@ CSSStyleDeclaration* MutableStylePropertySet::ensureCSSStyleDeclaration() |
ASSERT(!m_cssomWrapper->parentElement()); |
return m_cssomWrapper.get(); |
} |
- m_cssomWrapper = adoptPtr(new PropertySetCSSStyleDeclaration(this)); |
+ m_cssomWrapper = adoptPtr(new PropertySetCSSStyleDeclaration(*this)); |
return m_cssomWrapper.get(); |
} |