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 b55f9a8752383dbc5441d9a80ef9bebbcf1abea6..53147781886f26ff70ea29032c4be58f6f6e9e14 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp |
@@ -1069,17 +1069,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) |