| Index: Source/core/html/HTMLFrameOwnerElement.cpp
|
| diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp
|
| index ee505a784bb9a17e06ac366c3669c7d1234e21b5..0b722db77cccd0d1278f8461ecbb06c15119c59c 100644
|
| --- a/Source/core/html/HTMLFrameOwnerElement.cpp
|
| +++ b/Source/core/html/HTMLFrameOwnerElement.cpp
|
| @@ -32,7 +32,6 @@
|
| #include "core/rendering/RenderLayer.h"
|
| #include "core/rendering/RenderPart.h"
|
| #include "core/rendering/compositing/RenderLayerCompositor.h"
|
| -#include "core/svg/SVGDocument.h"
|
| #include "platform/weborigin/SecurityOrigin.h"
|
| #include "platform/weborigin/SecurityPolicy.h"
|
|
|
| @@ -170,11 +169,11 @@ bool HTMLFrameOwnerElement::isKeyboardFocusable() const
|
| return m_contentFrame && HTMLElement::isKeyboardFocusable();
|
| }
|
|
|
| -SVGDocument* HTMLFrameOwnerElement::getSVGDocument(ExceptionState& exceptionState) const
|
| +Document* HTMLFrameOwnerElement::getSVGDocument(ExceptionState& exceptionState) const
|
| {
|
| Document* doc = contentDocument();
|
| if (doc && doc->isSVGDocument())
|
| - return toSVGDocument(doc);
|
| + return doc;
|
| return 0;
|
| }
|
|
|
|
|