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

Issue 358033005: Drop early-outs for "no boxes" in SVGTextQuery entrypoints (Closed)

Created:
6 years, 5 months ago by fs
Modified:
6 years, 5 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, rwlbuis, Stephen Chennney, rune+blink
Project:
blink
Visibility:
Public.

Description

Drop early-outs for "no boxes" in SVGTextQuery entrypoints All entrypoints in SVGTextQuery start with check if the text content element has any boxes. If it doesn't, a value representing "empty" is returned. In all cases this value is the same as the default value of the corresponding query-data. SVGTextQuery::executeQuery itself has no problems handling this case (and will return 'false' as expected.) Removing these early-outs means a few more cycles is needed in these "degenerate" cases, although that seems like a small (and hopefully reasonable) price to pay for less code (and duplication/exit-paths). Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177149

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -26 lines) Patch
M Source/core/rendering/svg/SVGTextQuery.cpp View 9 chunks +0 lines, -26 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
fs
6 years, 5 months ago (2014-06-27 14:16:13 UTC) #1
pdr.
On 2014/06/27 14:16:13, fs wrote: Seems reasonable to me. LGTM
6 years, 5 months ago (2014-06-27 22:43:53 UTC) #2
pdr.
The CQ bit was checked by pdr@chromium.org
6 years, 5 months ago (2014-06-27 22:43:56 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/358033005/1
6 years, 5 months ago (2014-06-27 22:45:01 UTC) #4
commit-bot: I haz the power
6 years, 5 months ago (2014-06-27 22:47:55 UTC) #5
Message was sent while issue was closed.
Change committed as 177149

Powered by Google App Engine
This is Rietveld 408576698