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

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

Issue 19434002: Removing the remaining unused RoundedRectStrategy code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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
« no previous file with comments | « Source/core/platform/graphics/Path.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGPathData.cpp
diff --git a/Source/core/rendering/svg/SVGPathData.cpp b/Source/core/rendering/svg/SVGPathData.cpp
index bd8827093d1af4df493ef1119c1641013e69130f..935e89f7cd427bb9c406400cd6257e71a3c33bb6 100644
--- a/Source/core/rendering/svg/SVGPathData.cpp
+++ b/Source/core/rendering/svg/SVGPathData.cpp
@@ -133,10 +133,8 @@ static void updatePathFromRectElement(SVGElement* element, Path& path)
rx = ry;
else if (!hasRy)
ry = rx;
- // FIXME: We currently enforce using beziers here, as at least on CoreGraphics/Lion, as
- // the native method uses a different line dash origin, causing svg/custom/dashOrigin.svg to fail.
- // See bug https://bugs.webkit.org/show_bug.cgi?id=79932 which tracks this issue.
- path.addRoundedRect(FloatRect(x, y, width, height), FloatSize(rx, ry), Path::PreferBezierRoundedRect);
+
+ path.addRoundedRect(FloatRect(x, y, width, height), FloatSize(rx, ry));
return;
}
« no previous file with comments | « Source/core/platform/graphics/Path.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698