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

Issue 1625683003: [Line Layout API] Some harder SVGTextLayoutEngine changes (Closed)

Created:
4 years, 11 months ago by dgrogan
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@3_api_easy_svg
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Line Layout API] Finish switching SVGTextLayoutEngine to line layout API This is the last use of InlineBox::layoutObject(), so make it private. It required an additional api method: LineLayoutItem::isSVGText(). BUG=499321 Committed: https://crrev.com/186d9f5ab877027c814438621fcfdd2107d9702d Cr-Commit-Position: refs/heads/master@{#375113}

Patch Set 1 #

Total comments: 1

Patch Set 2 : ToT #

Patch Set 3 : rebase on Mark's landed patch #

Total comments: 5

Patch Set 4 : remove shim; rename elementFromLayoutObject #

Total comments: 5

Patch Set 5 : readd null check with new isNull() method on LineLayoutItem #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -12 lines) Patch
M third_party/WebKit/Source/core/layout/api/LineLayoutItem.h View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineBox.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGTextChunkBuilder.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGTextContentElement.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp View 1 2 3 4 2 chunks +4 lines, -6 lines 1 comment Download

Messages

Total messages: 21 (7 generated)
dgrogan
Mark, I got confused at the first non-trivial conversion. I've got some questions embedded as ...
4 years, 11 months ago (2016-01-23 03:34:16 UTC) #2
pilgrim_google
On 2016/01/23 at 03:34:16, dgrogan wrote: > Mark, > > I got confused at the ...
4 years, 10 months ago (2016-01-27 16:55:27 UTC) #3
dgrogan
Mark and Levi, could you take a look? I won't submit until I have 2 ...
4 years, 10 months ago (2016-02-11 17:42:03 UTC) #6
pilgrim_google
https://codereview.chromium.org/1625683003/diff/40001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp File third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp (right): https://codereview.chromium.org/1625683003/diff/40001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp#newcode255 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp:255: { Rename this to elementFromLineLayoutItem https://codereview.chromium.org/1625683003/diff/40001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp#newcode256 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp:256: const LayoutObject* ...
4 years, 10 months ago (2016-02-11 17:46:33 UTC) #7
dgrogan
https://codereview.chromium.org/1625683003/diff/40001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp File third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp (right): https://codereview.chromium.org/1625683003/diff/40001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp#newcode255 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp:255: { On 2016/02/11 17:46:33, pilgrim_google wrote: > Rename this ...
4 years, 10 months ago (2016-02-11 18:05:10 UTC) #9
pilgrim_google
https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp File third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp (left): https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp#oldcode255 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp:255: if (!layoutObject) Yeah, that worries me too. Levi needs ...
4 years, 10 months ago (2016-02-11 18:19:28 UTC) #10
pilgrim_google
On 2016/02/11 at 18:19:28, pilgrim_google wrote: > https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp > File third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp (left): > > https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp#oldcode255 ...
4 years, 10 months ago (2016-02-11 18:20:07 UTC) #11
dgrogan
https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp File third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp (left): https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp#oldcode255 third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp:255: if (!layoutObject) On 2016/02/11 18:19:28, pilgrim_google wrote: > Yeah, ...
4 years, 10 months ago (2016-02-11 19:12:34 UTC) #12
leviw_travelin_and_unemployed
LGTM. https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/layout/line/InlineBox.h File third_party/WebKit/Source/core/layout/line/InlineBox.h (right): https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/layout/line/InlineBox.h#newcode427 third_party/WebKit/Source/core/layout/line/InlineBox.h:427: LayoutObject& layoutObject() const { return m_layoutObject; } woohoo ...
4 years, 10 months ago (2016-02-11 21:35:02 UTC) #13
dgrogan
Take another quick look? There is less new code change than rietveld comments. https://codereview.chromium.org/1625683003/diff/60001/third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp File ...
4 years, 10 months ago (2016-02-11 23:36:02 UTC) #14
pilgrim_google
On 2016/02/11 at 23:36:02, dgrogan wrote: > Take another quick look? There is less new ...
4 years, 10 months ago (2016-02-12 01:22:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1625683003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1625683003/80001
4 years, 10 months ago (2016-02-12 02:41:58 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-12 03:48:14 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:41:28 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/186d9f5ab877027c814438621fcfdd2107d9702d
Cr-Commit-Position: refs/heads/master@{#375113}

Powered by Google App Engine
This is Rietveld 408576698