| Index: Source/core/svg/SVGElementInstance.cpp
|
| diff --git a/Source/core/svg/SVGElementInstance.cpp b/Source/core/svg/SVGElementInstance.cpp
|
| index 26e57cc821acec5ccd522a6634f75a61fe533168..e93740c100eca6bd6992f90efb15c5362298026a 100644
|
| --- a/Source/core/svg/SVGElementInstance.cpp
|
| +++ b/Source/core/svg/SVGElementInstance.cpp
|
| @@ -195,7 +195,7 @@ void SVGElementInstance::invalidateAllInstancesOfElement(SVGElement* element)
|
| }
|
| }
|
|
|
| - element->document()->updateStyleIfNeeded();
|
| + element->document().updateStyleIfNeeded();
|
| }
|
|
|
| const AtomicString& SVGElementInstance::interfaceName() const
|
| @@ -205,7 +205,7 @@ const AtomicString& SVGElementInstance::interfaceName() const
|
|
|
| ScriptExecutionContext* SVGElementInstance::scriptExecutionContext() const
|
| {
|
| - return m_element->document();
|
| + return &m_element->document();
|
| }
|
|
|
| bool SVGElementInstance::addEventListener(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture)
|
|
|