| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index d1f6be381ab3a6a7cf2f139d07cec2a35d5e7d4a..f9ed28c1238c9a614bc78172812f9669be3ee8f0 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -58,7 +58,7 @@
|
| #include "core/rendering/RenderLayer.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "core/rendering/compositing/RenderLayerCompositor.h"
|
| -#include "core/svg/SVGDocument.h"
|
| +#include "core/svg/SVGDocumentExtensions.h"
|
| #include "platform/DragImage.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/ImageBuffer.h"
|
| @@ -444,7 +444,7 @@ void LocalFrame::setPageAndTextZoomFactors(float pageZoomFactor, float textZoomF
|
| // Respect SVGs zoomAndPan="disabled" property in standalone SVG documents.
|
| // FIXME: How to handle compound documents + zoomAndPan="disabled"? Needs SVG WG clarification.
|
| if (document->isSVGDocument()) {
|
| - if (!toSVGDocument(document)->zoomAndPanEnabled())
|
| + if (!document->accessSVGExtensions().zoomAndPanEnabled())
|
| return;
|
| }
|
|
|
|
|