| Index: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
|
| index a1557a1517b61fb90d2b491b843bb066988b6f27..e4563be48b8147d6ea2893e8b8187e54dd41bb9d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
|
| @@ -14,7 +14,9 @@ namespace blink {
|
| void ClipDisplayItem::replay(GraphicsContext& context) const
|
| {
|
| context.save();
|
| - context.clipRect(m_clipRect, AntiAliased);
|
| + // TODO(chrishtr): make this AntiAliased. Not anti-aliasing here is a workaround for a PDF rendering issue.
|
| + // See crbug.com/590971.
|
| + context.clipRect(m_clipRect, NotAntiAliased);
|
|
|
| for (const FloatRoundedRect& roundedRect : m_roundedRectClips)
|
| context.clipRoundedRect(roundedRect);
|
|
|