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

Issue 400633005: Use LayoutUnit::fromFloatRound for setting scroll values (Closed)

Created:
6 years, 5 months ago by eae
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Project:
blink
Visibility:
Public.

Description

Use LayoutUnit::fromFloatRound for setting scroll values Change Elemenet::setScrollLeft and setScrollTop to use LayoutUnit:: fromFloatRound instead of lroundf. This ensures that no unnecessary type conversion takers place and that the values are clamped properly. R=leviw@chromium.org BUG=393464 TEST=fast/scrolling/scroll-max-value.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178488

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -2 lines) Patch
A LayoutTests/fast/scrolling/scroll-max-value.html View 1 chunk +65 lines, -0 lines 0 comments Download
A LayoutTests/fast/scrolling/scroll-max-value-expected.txt View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
eae
6 years, 5 months ago (2014-07-17 22:03:30 UTC) #1
eae
6 years, 5 months ago (2014-07-17 23:14:21 UTC) #2
eae
ping?
6 years, 5 months ago (2014-07-18 19:08:21 UTC) #3
eae
6 years, 5 months ago (2014-07-18 21:19:34 UTC) #4
leviw_travelin_and_unemployed
LGTM.
6 years, 5 months ago (2014-07-18 21:22:00 UTC) #5
eae
On 2014/07/18 21:22:00, leviw wrote: > LGTM. Thanks Levi!
6 years, 5 months ago (2014-07-18 21:22:25 UTC) #6
eae
The CQ bit was checked by eae@chromium.org
6 years, 5 months ago (2014-07-18 21:22:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eae@chromium.org/400633005/1
6 years, 5 months ago (2014-07-18 21:23:12 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 21:33:17 UTC) #9
Message was sent while issue was closed.
Change committed as 178488

Powered by Google App Engine
This is Rietveld 408576698