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

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

Issue 1566193002: Always antialias clips in ClipDisplayItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/Source/platform/graphics/GraphicsContext.cpp ('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 2b7294306129cf72111db17bb8cfd82fddbe0474..a1557a1517b61fb90d2b491b843bb066988b6f27 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.cpp
@@ -14,10 +14,10 @@ namespace blink {
void ClipDisplayItem::replay(GraphicsContext& context) const
{
context.save();
- context.clipRect(m_clipRect, NotAntiAliased, SkRegion::kIntersect_Op);
+ context.clipRect(m_clipRect, AntiAliased);
for (const FloatRoundedRect& roundedRect : m_roundedRectClips)
- context.clipRoundedRect(roundedRect, SkRegion::kIntersect_Op);
+ context.clipRoundedRect(roundedRect);
}
void ClipDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698