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

Issue 958543004: Remove some unnecessary and precision-losing pixel snapping code. (Closed)

Created:
5 years, 10 months ago by chrishtr
Modified:
5 years, 10 months ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, Dominik Röttsches, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove some unnecessary and precision-losing pixel snapping code. BUG=456885, 461615 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190865

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
A LayoutTests/fast/borders/extreme-outline-offset-crash.html View 1 1 chunk +13 lines, -0 lines 0 comments Download
A + LayoutTests/fast/borders/extreme-outline-offset-crash-expected.txt View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/layout/LayoutBox.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutObject.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/paint/BoxPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/ObjectPainter.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMenuList.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (16 generated)
chrishtr
https://codereview.chromium.org/958543004/diff/1/Source/core/layout/LayoutBox.cpp File Source/core/layout/LayoutBox.cpp (left): https://codereview.chromium.org/958543004/diff/1/Source/core/layout/LayoutBox.cpp#oldcode1173 Source/core/layout/LayoutBox.cpp:1173: LayoutRect backgroundRect = pixelSnappedIntRect(borderBoxRect()); This one is not necessary ...
5 years, 10 months ago (2015-02-25 18:28:41 UTC) #2
eae
LGTM!
5 years, 10 months ago (2015-02-25 18:32:09 UTC) #4
leviw_travelin_and_unemployed
LGTM. https://codereview.chromium.org/958543004/diff/1/Source/core/paint/BoxPainter.cpp File Source/core/paint/BoxPainter.cpp (right): https://codereview.chromium.org/958543004/diff/1/Source/core/paint/BoxPainter.cpp#newcode689 Source/core/paint/BoxPainter.cpp:689: geometry.setDestRect(viewportRect); Can't we pixel snap this just a ...
5 years, 10 months ago (2015-02-25 18:32:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/958543004/40001
5 years, 10 months ago (2015-02-25 18:33:54 UTC) #11
chrishtr
Changed LayoutBox to use enclosingIntRect instead. Pixel snapping did actually have an effect, but Levi ...
5 years, 10 months ago (2015-02-25 18:40:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/958543004/60001
5 years, 10 months ago (2015-02-25 18:41:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/958543004/60001
5 years, 10 months ago (2015-02-25 19:49:42 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/958543004/80001
5 years, 10 months ago (2015-02-25 19:53:46 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=190865
5 years, 10 months ago (2015-02-25 23:04:30 UTC) #25
Xianzhu
Are the bug numbers correct?
5 years, 10 months ago (2015-02-25 23:11:32 UTC) #26
chrishtr
5 years, 10 months ago (2015-02-25 23:12:38 UTC) #27
Message was sent while issue was closed.
No. Sorry, fixing.

Powered by Google App Engine
This is Rietveld 408576698