Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / svg / SVGRenderSupport.cpp
index 276573c..a9676a0 100644 (file)
@@ -411,4 +411,11 @@ bool SVGRenderSupport::isEmptySVGInlineText(const RenderObject* object)
     return object->isSVGInlineText() && toRenderSVGInlineText(object)->hasEmptyText();
 }
 
+bool SVGRenderSupport::isRenderableTextNode(const RenderObject* object)
+{
+    ASSERT(object->isText());
+    // <br> is marked as text, but is not handled by the SVG rendering code-path.
+    return object->isSVGInlineText() && !toRenderSVGInlineText(object)->hasEmptyText();
+}
+
 }