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

Issue 1861013003: Separate metrics update and layout attribute resolving (Closed)

Created:
4 years, 8 months ago by fs
Modified:
4 years, 8 months ago
Reviewers:
pdr.
CC:
fs, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), 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@simplify-layoutattr-invalidation
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate metrics update and layout attribute resolving This splits the walkInlineText() function from SVGTextMetricsBuilder.cpp into one function for computing the Vector of SVGTextMetrics (called via updateTextMetrics in LayoutSVGInlineText) and one function for computing the mapping of layout attributes (updateLayoutAttributes in SVGTextLayoutAttributesBuilder.cpp). This in turn mean that the UpdateAttribute helper struct is split and done away with, similarly TreeWalkTextState. BUG=594058 Committed: https://crrev.com/14177d51219e4ba4d1381eb6a4486ec5d71020c0 Cr-Commit-Position: refs/heads/master@{#386301}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Messages

Total messages: 11 (4 generated)
fs
https://codereview.chromium.org/1861013003/diff/20001/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp File third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp (right): https://codereview.chromium.org/1861013003/diff/20001/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp#newcode210 third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp:210: SVGTextMetricsBuilder::updateTextMetrics(*this, lastCharacterWasWhiteSpace); My current thinking is that we should ...
4 years, 8 months ago (2016-04-06 15:28:26 UTC) #3
pdr.
LGTM, much cleaner. This patch makes it more obvious that tracking lastCharacterWasWhiteSpace is pretty ugly. ...
4 years, 8 months ago (2016-04-06 23:07:34 UTC) #4
fs
On 2016/04/06 at 23:07:34, pdr wrote: > LGTM, much cleaner. > > This patch makes ...
4 years, 8 months ago (2016-04-07 09:26:17 UTC) #5
pdr.
On 2016/04/07 at 09:26:17, fs wrote: > On 2016/04/06 at 23:07:34, pdr wrote: > > ...
4 years, 8 months ago (2016-04-07 18:34:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861013003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861013003/20001
4 years, 8 months ago (2016-04-09 16:59:27 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-09 18:02:25 UTC) #9
commit-bot: I haz the power
4 years, 8 months ago (2016-04-09 18:03:45 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/14177d51219e4ba4d1381eb6a4486ec5d71020c0
Cr-Commit-Position: refs/heads/master@{#386301}

Powered by Google App Engine
This is Rietveld 408576698