| Index: Source/core/accessibility/AXRenderObject.cpp
|
| diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
|
| index 0c2efaa05f3e9e26ace5f2d09e2baf9f58830ab1..99f0a3c5842eb42d8544f1db662b28e3aef1f7bb 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 = SVGDocumentExtensions::rootElement(*doc);
|
| if (!rootElement)
|
| return 0;
|
| RenderObject* rendererRoot = rootElement->renderer();
|
|
|