| Index: Source/core/accessibility/AXRenderObject.cpp
|
| diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
|
| index 0c2efaa05f3e9e26ace5f2d09e2baf9f58830ab1..9b024295b71353bf3ca49bf93f37dd4cd34cb63b 100644
|
| --- a/Source/core/accessibility/AXRenderObject.cpp
|
| +++ b/Source/core/accessibility/AXRenderObject.cpp
|
| @@ -65,7 +65,7 @@
|
| #include "core/rendering/RenderTextFragment.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "core/rendering/RenderWidget.h"
|
| -#include "core/svg/SVGDocument.h"
|
| +#include "core/svg/SVGDocumentExtensions.h"
|
| #include "core/svg/SVGSVGElement.h"
|
| #include "core/svg/graphics/SVGImage.h"
|
| #include "platform/text/PlatformLocale.h"
|
| @@ -2024,7 +2024,7 @@ AXSVGRoot* AXRenderObject::remoteSVGRootElement() const
|
| if (!doc || !doc->isSVGDocument())
|
| return 0;
|
|
|
| - SVGSVGElement* rootElement = toSVGDocument(doc)->rootElement();
|
| + SVGSVGElement* rootElement = doc->accessSVGExtensions().rootElement();
|
| if (!rootElement)
|
| return 0;
|
| RenderObject* rendererRoot = rootElement->renderer();
|
|
|