Index: Source/core/dom/ElementRareData.cpp |
diff --git a/Source/core/dom/ElementRareData.cpp b/Source/core/dom/ElementRareData.cpp |
index 85889c3aae58cf8308c2f8d6667077078ed1cf54..8512151a0b4587d7c4344fa26d61046a865343bf 100644 |
--- a/Source/core/dom/ElementRareData.cpp |
+++ b/Source/core/dom/ElementRareData.cpp |
@@ -43,11 +43,11 @@ struct SameSizeAsElementRareData : NodeRareData { |
void* pointers[11]; |
}; |
-CSSStyleDeclaration* ElementRareData::ensureInlineCSSStyleDeclaration(Element* ownerElement) |
+CSSStyleDeclaration& ElementRareData::ensureInlineCSSStyleDeclaration(Element* ownerElement) |
{ |
if (!m_cssomWrapper) |
m_cssomWrapper = adoptPtr(new InlineCSSStyleDeclaration(ownerElement)); |
- return m_cssomWrapper.get(); |
+ return *m_cssomWrapper; |
} |