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

Issue 699683002: Continue with InlineBox float->LayoutUnit migration. (Closed)

Created:
6 years, 1 month ago by hartmanng
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Project:
blink
Visibility:
Public.

Description

Continue with InlineBox float->LayoutUnit migration. This is the second patch in the series to migrate to LayoutUnits in all InlineBox classes. BUG=321237 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185320

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : default constructors #

Total comments: 10

Patch Set 5 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -99 lines) Patch
M Source/core/rendering/EllipsisBox.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/rendering/EllipsisBox.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/FloatToLayoutUnit.h View 1 2 3 4 1 chunk +44 lines, -24 lines 0 comments Download
M Source/core/rendering/InlineBox.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/InlineBox.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/InlineFlowBox.h View 1 2 6 chunks +14 lines, -13 lines 0 comments Download
M Source/core/rendering/InlineFlowBox.cpp View 1 6 chunks +14 lines, -14 lines 0 comments Download
M Source/core/rendering/InlineTextBox.h View 1 2 5 chunks +12 lines, -11 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 11 chunks +14 lines, -14 lines 0 comments Download
M Source/core/rendering/RootInlineBox.h View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M Source/core/rendering/RootInlineBox.cpp View 1 2 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
hartmanng
Levi, please take a look. I'm not sure how easy or hard these patches are ...
6 years, 1 month ago (2014-11-03 19:19:24 UTC) #3
leviw_travelin_and_unemployed
https://codereview.chromium.org/699683002/diff/20001/Source/core/rendering/FloatToLayoutUnit.h File Source/core/rendering/FloatToLayoutUnit.h (right): https://codereview.chromium.org/699683002/diff/20001/Source/core/rendering/FloatToLayoutUnit.h#newcode26 Source/core/rendering/FloatToLayoutUnit.h:26: #define WILL_BE_LAYOUT_UNIT_TO_FLOAT(layoutUnit) (layoutUnit.toFloat()) These names don't actually seem self-identifying ...
6 years, 1 month ago (2014-11-03 21:35:02 UTC) #4
hartmanng
On 2014/11/03 21:35:02, leviw wrote: > https://codereview.chromium.org/699683002/diff/20001/Source/core/rendering/FloatToLayoutUnit.h > File Source/core/rendering/FloatToLayoutUnit.h (right): > > https://codereview.chromium.org/699683002/diff/20001/Source/core/rendering/FloatToLayoutUnit.h#newcode26 > ...
6 years, 1 month ago (2014-11-06 23:11:38 UTC) #5
leviw_travelin_and_unemployed
https://codereview.chromium.org/699683002/diff/40001/Source/core/rendering/FloatToLayoutUnit.h File Source/core/rendering/FloatToLayoutUnit.h (right): https://codereview.chromium.org/699683002/diff/40001/Source/core/rendering/FloatToLayoutUnit.h#newcode20 Source/core/rendering/FloatToLayoutUnit.h:20: class LineLayoutUnit { This may be easier if you ...
6 years, 1 month ago (2014-11-12 21:27:46 UTC) #6
hartmanng
https://codereview.chromium.org/699683002/diff/40001/Source/core/rendering/FloatToLayoutUnit.h File Source/core/rendering/FloatToLayoutUnit.h (right): https://codereview.chromium.org/699683002/diff/40001/Source/core/rendering/FloatToLayoutUnit.h#newcode20 Source/core/rendering/FloatToLayoutUnit.h:20: class LineLayoutUnit { On 2014/11/12 21:27:45, leviw wrote: > ...
6 years, 1 month ago (2014-11-13 16:08:27 UTC) #7
leviw_travelin_and_unemployed
lgtm https://codereview.chromium.org/699683002/diff/60001/Source/core/rendering/FloatToLayoutUnit.h File Source/core/rendering/FloatToLayoutUnit.h (right): https://codereview.chromium.org/699683002/diff/60001/Source/core/rendering/FloatToLayoutUnit.h#newcode22 Source/core/rendering/FloatToLayoutUnit.h:22: FloatLineLayoutUnit(float f) : m_value(f) { } Nit: Can ...
6 years, 1 month ago (2014-11-13 19:43:11 UTC) #8
hartmanng
Thanks! https://codereview.chromium.org/699683002/diff/60001/Source/core/rendering/FloatToLayoutUnit.h File Source/core/rendering/FloatToLayoutUnit.h (right): https://codereview.chromium.org/699683002/diff/60001/Source/core/rendering/FloatToLayoutUnit.h#newcode22 Source/core/rendering/FloatToLayoutUnit.h:22: FloatLineLayoutUnit(float f) : m_value(f) { } On 2014/11/13 ...
6 years, 1 month ago (2014-11-13 19:48:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/699683002/80001
6 years, 1 month ago (2014-11-13 19:49:51 UTC) #11
leviw_travelin_and_unemployed
https://codereview.chromium.org/699683002/diff/80001/Source/core/rendering/FloatToLayoutUnit.h File Source/core/rendering/FloatToLayoutUnit.h (right): https://codereview.chromium.org/699683002/diff/80001/Source/core/rendering/FloatToLayoutUnit.h#newcode41 Source/core/rendering/FloatToLayoutUnit.h:41: LayoutUnitLineLayoutUnit() : m_value() { } Nit: I don't think ...
6 years, 1 month ago (2014-11-13 19:51:23 UTC) #12
leviw_travelin_and_unemployed
Use that fancy new constructor first ;)
6 years, 1 month ago (2014-11-13 19:51:38 UTC) #14
hartmanng
https://codereview.chromium.org/699683002/diff/80001/Source/core/rendering/InlineBox.h File Source/core/rendering/InlineBox.h (right): https://codereview.chromium.org/699683002/diff/80001/Source/core/rendering/InlineBox.h#newcode47 Source/core/rendering/InlineBox.h:47: , m_logicalWidth(0) On 2014/11/13 19:51:23, leviw wrote: > Use ...
6 years, 1 month ago (2014-11-13 19:56:33 UTC) #15
leviw_travelin_and_unemployed
On 2014/11/13 at 19:56:33, hartmanng wrote: > https://codereview.chromium.org/699683002/diff/80001/Source/core/rendering/InlineBox.h > File Source/core/rendering/InlineBox.h (right): > > https://codereview.chromium.org/699683002/diff/80001/Source/core/rendering/InlineBox.h#newcode47 ...
6 years, 1 month ago (2014-11-13 19:59:11 UTC) #16
hartmanng
On 2014/11/13 19:59:11, leviw wrote: > On 2014/11/13 at 19:56:33, hartmanng wrote: > > > ...
6 years, 1 month ago (2014-11-13 20:03:04 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/699683002/100001
6 years, 1 month ago (2014-11-13 20:04:23 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-13 21:09:46 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as 185320

Powered by Google App Engine
This is Rietveld 408576698