| Index: Source/core/dom/ElementRareData.h
|
| diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h
|
| index c3189379b3e96341787d15a303ca5f1c3a82cb71..40942a5743ee012179e069e56b5d8865e4556403 100644
|
| --- a/Source/core/dom/ElementRareData.h
|
| +++ b/Source/core/dom/ElementRareData.h
|
| @@ -91,7 +91,7 @@ public:
|
| unsigned childIndex() const { return m_childIndex; }
|
| void setChildIndex(unsigned index) { m_childIndex = index; }
|
|
|
| - CSSStyleDeclaration* ensureInlineCSSStyleDeclaration(Element* ownerElement);
|
| + CSSStyleDeclaration& ensureInlineCSSStyleDeclaration(Element* ownerElement);
|
|
|
| void clearShadow() { m_shadow = nullptr; }
|
| ElementShadow* shadow() const { return m_shadow.get(); }
|
| @@ -137,11 +137,11 @@ public:
|
| void setHasPendingResources(bool has) { m_hasPendingResources = has; }
|
|
|
| bool hasInputMethodContext() const { return m_inputMethodContext; }
|
| - InputMethodContext* ensureInputMethodContext(HTMLElement* element)
|
| + InputMethodContext& ensureInputMethodContext(HTMLElement* element)
|
| {
|
| if (!m_inputMethodContext)
|
| m_inputMethodContext = InputMethodContext::create(element);
|
| - return m_inputMethodContext.get();
|
| + return *m_inputMethodContext;
|
| }
|
|
|
| bool hasPseudoElements() const;
|
|
|