Index: Source/core/svg/SVGAltGlyphElement.cpp |
diff --git a/Source/core/svg/SVGAltGlyphElement.cpp b/Source/core/svg/SVGAltGlyphElement.cpp |
index 761fc3834e8668825ae62d2f2742649866992029..691b8f49f3a1d66b4547f457df781e5cd07e3881 100644 |
--- a/Source/core/svg/SVGAltGlyphElement.cpp |
+++ b/Source/core/svg/SVGAltGlyphElement.cpp |
@@ -29,7 +29,6 @@ |
#include "XLinkNames.h" |
#include "bindings/v8/ExceptionState.h" |
#include "core/dom/ExceptionCode.h" |
-#include "core/dom/NodeRenderingContext.h" |
#include "core/rendering/svg/RenderSVGTSpan.h" |
#include "core/svg/SVGAltGlyphDefElement.h" |
@@ -76,9 +75,9 @@ const AtomicString& SVGAltGlyphElement::format() const |
return fastGetAttribute(SVGNames::formatAttr); |
} |
-bool SVGAltGlyphElement::childShouldCreateRenderer(const NodeRenderingContext& childContext) const |
+bool SVGAltGlyphElement::childShouldCreateRenderer(const Node& child) const |
{ |
- if (childContext.node()->isTextNode()) |
+ if (child.isTextNode()) |
return true; |
return false; |
} |