Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index dc3066d7e1756d94713b403295dd8cfd205745fd..b1fcb7ebdd3b7c4e737b9a38904baba1fab5e388 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -3304,7 +3304,7 @@ void Element::createUniqueElementData() |
} |
} |
-InputMethodContext* Element::inputMethodContext() |
+InputMethodContext& Element::inputMethodContext() |
{ |
return ensureElementRareData().ensureInputMethodContext(toHTMLElement(this)); |
} |
@@ -3344,7 +3344,7 @@ CSSStyleDeclaration* Element::style() |
{ |
if (!isStyledElement()) |
return 0; |
- return ensureElementRareData().ensureInlineCSSStyleDeclaration(this); |
+ return &ensureElementRareData().ensureInlineCSSStyleDeclaration(this); |
} |
MutableStylePropertySet& Element::ensureMutableInlineStyle() |