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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp

Issue 2701523003: Don't pixel-snap overflow clips in clip paint property nodes. (Closed)
Patch Set: Merge branch 'master' into fixclipping Created 3 years, 10 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
Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
index 172d22ae06ce77eada4f4fe52677f2594f78548b..c66dac08edcc4e31027ec51fc7a9f4c7f5150e6b 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
@@ -615,8 +615,7 @@ void PaintPropertyTreeBuilder::updateOverflowClip(
// like overflow clip.
LayoutRect clipRect;
if (box.shouldClipOverflow()) {
- clipRect = LayoutRect(pixelSnappedIntRect(
- box.overflowClipRect(context.current.paintOffset)));
+ clipRect = LayoutRect(box.overflowClipRect(context.current.paintOffset));
} else {
if (auto* properties = object.getMutableForPainting().paintProperties()) {
context.forceSubtreeUpdate |= properties->clearInnerBorderRadiusClip();

Powered by Google App Engine
This is Rietveld 408576698