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

Issue 175323002: Eliminate recursion in SVGTextMetricsBuilder::walkTree (Closed)

Created:
6 years, 10 months ago by fs
Modified:
6 years, 9 months ago
CC:
blink-reviews, krit, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, pdr., Stephen Chennney, rwlbuis
Visibility:
Public.

Description

Eliminate recursion in SVGTextMetricsBuilder::walkTree This tree-traveral can be trivially rewritten as a pre-order traversal using RenderObject::nextInPreOrderAfterChildren. Also fold the branches in the RenderSVGInlineText case to reduce the number of callsites to measureTextRenderer. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168005

Patch Set 1 #

Patch Set 2 : Re-upload. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -16 lines) Patch
M Source/core/rendering/svg/SVGTextMetricsBuilder.cpp View 1 chunk +11 lines, -16 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
fs
The starting CL of some refactoring of this class in order to reduce (eliminate) state. ...
6 years, 10 months ago (2014-02-21 16:56:23 UTC) #1
rwlbuis
On 2014/02/21 16:56:23, fs wrote: > The starting CL of some refactoring of this class ...
6 years, 10 months ago (2014-02-21 19:44:40 UTC) #2
rwlbuis
6 years, 10 months ago (2014-02-21 19:46:12 UTC) #3
fs
Ping.
6 years, 10 months ago (2014-02-26 17:09:29 UTC) #4
Stephen Chennney
lgtm
6 years, 10 months ago (2014-02-26 19:38:38 UTC) #5
fs
The CQ bit was checked by fs@opera.com
6 years, 9 months ago (2014-02-27 08:45:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/175323002/90001
6 years, 9 months ago (2014-02-27 08:45:22 UTC) #7
commit-bot: I haz the power
6 years, 9 months ago (2014-02-27 10:21:18 UTC) #8
Message was sent while issue was closed.
Change committed as 168005

Powered by Google App Engine
This is Rietveld 408576698