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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp

Issue 1921493006: Revert code to avoid AntiAliased clips now that the referenced Skia bug is fixed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 70dfdab0ba398d09aebdc58b2a8ed872bd1698cd..357e1f7bb5b06666d9dc8610a0dab9eecff518ee 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
@@ -14,9 +14,7 @@ namespace blink {
void ClipDisplayItem::replay(GraphicsContext& context) const
{
context.save();
- // 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);
+ context.clipRect(m_clipRect, AntiAliased);
for (const FloatRoundedRect& roundedRect : m_roundedRectClips)
context.clipRoundedRect(roundedRect);
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698