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

Issue 1433253003: [Line Layout API] Convert AbstractInlineTextBox to new line layout API (Closed)

Created:
5 years, 1 month ago by pilgrim_google
Modified:
5 years ago
CC:
aboxhall, aboxhall+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, dmazzoni+watch_chromium.org, dmazzoni, dtseng+watch_chromium.org, eae+blinkwatch, jchaffraix+rendering, je_julie, leviw+renderwatch, nektarios, nektar+watch_chromium.org, pdr+renderingwatchlist_chromium.org, plundblad+watch_chromium.org, szager+layoutwatch_chromium.org, yuzo+watch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Line Layout API] Convert AbstractInlineTextBox to new line layout API This affects AXInlineTextBox, which previously was the only caller to AbstractInlineTextBox::layoutText(), and is now the only caller to AbstractInlineTextBox::lineLayoutItem(). This also affects InlineTextBox, in the sense that AbstractInlineTextBox was the last remaining caller to InlineTextBox::layoutObject(), which is now removed. BUG=499321 Committed: https://crrev.com/24f1ae8c7c39f5bd7e03310b91c26b4ce1f93a3f Cr-Commit-Position: refs/heads/master@{#363853}

Patch Set 1 #

Total comments: 3

Patch Set 2 : add constructors so we can assign nullptr to LineLayoutItem descendants #

Total comments: 1

Patch Set 3 : remove PaintShim usage in AXInlineTextBox, remove nullptr definitions (split into other CL), addres… #

Total comments: 1

Patch Set 4 : remove layoutObject() method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -26 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutText.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/api/LineLayoutItem.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h View 4 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp View 1 2 8 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineTextBox.h View 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
pilgrim_google
5 years, 1 month ago (2015-11-11 17:29:14 UTC) #2
leviw_travelin_and_unemployed
https://codereview.chromium.org/1433253003/diff/1/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp File third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp (right): https://codereview.chromium.org/1433253003/diff/1/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp#newcode42 third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp:42: PassRefPtr<AbstractInlineTextBox> AbstractInlineTextBox::getOrCreate(LineLayoutText lineLayoutItem, InlineTextBox* inlineTextBox) s/lineLayoutItem/lineLayoutText/ https://codereview.chromium.org/1433253003/diff/1/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp#newcode84 third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp:84: m_lineLayoutItem.detach(); ...
5 years, 1 month ago (2015-11-13 21:29:04 UTC) #3
jsbell
Drive-by... https://codereview.chromium.org/1433253003/diff/20001/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp File third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp (right): https://codereview.chromium.org/1433253003/diff/20001/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp#newcode85 third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp:85: m_inlineTextBox = 0; Change this `= 0` to ...
5 years, 1 month ago (2015-11-19 22:08:27 UTC) #4
pilgrim_google
Major update. Please re-review.
5 years ago (2015-12-07 15:27:11 UTC) #6
leviw_travelin_and_unemployed
https://codereview.chromium.org/1433253003/diff/40001/third_party/WebKit/Source/core/layout/line/InlineTextBox.h File third_party/WebKit/Source/core/layout/line/InlineTextBox.h (right): https://codereview.chromium.org/1433253003/diff/40001/third_party/WebKit/Source/core/layout/line/InlineTextBox.h#newcode55 third_party/WebKit/Source/core/layout/line/InlineTextBox.h:55: LayoutText& layoutObject() const { return toLayoutText(InlineBox::layoutObject()); } If this ...
5 years ago (2015-12-07 18:50:27 UTC) #7
pilgrim_google
On 2015/12/07 at 18:50:27, leviw wrote: > https://codereview.chromium.org/1433253003/diff/40001/third_party/WebKit/Source/core/layout/line/InlineTextBox.h > File third_party/WebKit/Source/core/layout/line/InlineTextBox.h (right): > > https://codereview.chromium.org/1433253003/diff/40001/third_party/WebKit/Source/core/layout/line/InlineTextBox.h#newcode55 ...
5 years ago (2015-12-07 20:19:06 UTC) #8
leviw_travelin_and_unemployed
Woohoo! LGTM. Please mention that you're removing it in the description (instead of "can be ...
5 years ago (2015-12-07 21:12:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1433253003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1433253003/60001
5 years ago (2015-12-07 21:18:05 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/126045)
5 years ago (2015-12-07 22:40:02 UTC) #14
pilgrim_google
5 years ago (2015-12-08 02:06:26 UTC) #17
dmazzoni
lgtm
5 years ago (2015-12-08 19:50:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1433253003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1433253003/60001
5 years ago (2015-12-08 19:51:51 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-09 00:43:54 UTC) #21
commit-bot: I haz the power
5 years ago (2015-12-09 00:44:48 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24f1ae8c7c39f5bd7e03310b91c26b4ce1f93a3f
Cr-Commit-Position: refs/heads/master@{#363853}

Powered by Google App Engine
This is Rietveld 408576698