Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
index 3bdcb57502511206c71b6601fda5ea91a0fe2d76..9536579aab42a58fe5048e9d8cb6853a9a0dae52 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
@@ -1068,17 +1068,17 @@ void GraphicsContext::strokeEllipse(const FloatRect& ellipse) |
drawOval(ellipse, immutableState()->strokePaint()); |
} |
-void GraphicsContext::clipRoundedRect(const FloatRoundedRect& rrect, SkRegion::Op regionOp) |
+void GraphicsContext::clipRoundedRect(const FloatRoundedRect& rrect, SkRegion::Op regionOp, AntiAliasingMode shouldAntialias) |
{ |
if (contextDisabled()) |
return; |
if (!rrect.isRounded()) { |
- clipRect(rrect.rect(), NotAntiAliased, regionOp); |
+ clipRect(rrect.rect(), shouldAntialias, regionOp); |
return; |
} |
- clipRRect(rrect, AntiAliased, regionOp); |
+ clipRRect(rrect, shouldAntialias, regionOp); |
} |
void GraphicsContext::clipOut(const Path& pathToClip) |