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

Issue 2170453002: Simplify URL-resolving in targetElementFromIRIString (Closed)

Created:
4 years, 5 months ago by fs
Modified:
4 years, 5 months ago
Reviewers:
pdr., Stephen Chennney
CC:
blink-reviews, chromium-reviews, krit, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify URL-resolving in targetElementFromIRIString Use Document::completeURL for URL resolving, rather than using String::substring et.c to reproduce essentially the same code. Use KURL::fragmentIdentifier and friends to extract the fragment identifier. Fold urlFromIRIStringWithFragmentIdentifier into its only user. Open-code isExternalURIReference in targetElementFromIRIString, since we already have the URL resolved and ready. BUG=470608 Committed: https://crrev.com/7cae9a3466aa173c9e3127c8eb7f8079f932beca Cr-Commit-Position: refs/heads/master@{#406578}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -36 lines) Patch
M third_party/WebKit/Source/core/svg/SVGURIReference.cpp View 2 chunks +10 lines, -36 lines 2 comments Download

Messages

Total messages: 14 (7 generated)
fs
4 years, 5 months ago (2016-07-20 15:21:32 UTC) #4
Stephen Chennney
Good cleanup. Probably dates from WebKit when only Chrome used KURL, or something like that. ...
4 years, 5 months ago (2016-07-20 15:33:21 UTC) #5
fs
On 2016/07/20 at 15:33:21, schenney wrote: > Good cleanup. Probably dates from WebKit when only ...
4 years, 5 months ago (2016-07-20 15:41:03 UTC) #6
Stephen Chennney
On 2016/07/20 15:41:03, fs wrote: > On 2016/07/20 at 15:33:21, schenney wrote: > > Good ...
4 years, 5 months ago (2016-07-20 15:46:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2170453002/1
4 years, 5 months ago (2016-07-20 16:15:24 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-20 16:24:00 UTC) #12
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 16:27:17 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7cae9a3466aa173c9e3127c8eb7f8079f932beca
Cr-Commit-Position: refs/heads/master@{#406578}

Powered by Google App Engine
This is Rietveld 408576698