Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2966)

Unified Diff: Source/core/rendering/svg/SVGRenderSupport.cpp

Issue 183973036: Remove some SVG API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Retry Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/svg/SVGRenderSupport.cpp
diff --git a/Source/core/rendering/svg/SVGRenderSupport.cpp b/Source/core/rendering/svg/SVGRenderSupport.cpp
index 0d12b6acec04e174b9b14a215d4d76396a04b3b2..2de221f270096da80d0eb25e5868aaa67d19ecc7 100644
--- a/Source/core/rendering/svg/SVGRenderSupport.cpp
+++ b/Source/core/rendering/svg/SVGRenderSupport.cpp
@@ -396,14 +396,6 @@ void SVGRenderSupport::applyStrokeStyleToStrokeData(StrokeData* strokeData, cons
strokeData->setLineDash(dashArray, svgStyle->strokeDashOffset()->value(lengthContext));
}
-bool SVGRenderSupport::isEmptySVGInlineText(const RenderObject* object)
-{
- // RenderSVGInlineText performs whitespace filtering in order to support xml:space
- // (http://www.w3.org/TR/SVG/struct.html#LangSpaceAttrs), and can end up with an empty string
- // even when its original constructor argument is non-empty.
- return object->isSVGInlineText() && toRenderSVGInlineText(object)->hasEmptyText();
-}
-
bool SVGRenderSupport::isRenderableTextNode(const RenderObject* object)
{
ASSERT(object->isText());

Powered by Google App Engine
This is Rietveld 408576698