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

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: none 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 34b7942e959e2e6c6f757736832a8ca09f7c4a95..9ff5e43ed9fa1d8d429b6c5ae081bfcc5bc0c783 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
@@ -620,8 +620,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