Index: Source/core/platform/graphics/Path.cpp |
diff --git a/Source/core/platform/graphics/Path.cpp b/Source/core/platform/graphics/Path.cpp |
index 0714c29e8ae5a926e5649a0a734b4b9eedc046cc..110338d504bd08af8f3230d4e5bf27bd62f92297 100644 |
--- a/Source/core/platform/graphics/Path.cpp |
+++ b/Source/core/platform/graphics/Path.cpp |
@@ -377,11 +377,6 @@ void Path::addRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, |
void Path::addPathForRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius, RoundedRectStrategy strategy) |
{ |
- if (strategy == PreferBezierRoundedRect) { |
- addBeziersForRoundedRect(rect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); |
- return; |
- } |
- |
addBeziersForRoundedRect(rect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); |
} |