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

Issue 2537323002: Optimize WebURL::protocolIs (Closed)

Created:
4 years ago by Charlie Harrison
Modified:
4 years ago
Reviewers:
kinuko
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Optimize WebURL::protocolIs The top-level protocolIs() method in KURL does extra work including scheme canonicalization that isn't necessary if the input is already canonicalized. This patch uses the parsed structure of the WebURL for an efficient StringView-based check. BUG=348655 Committed: https://crrev.com/f08b4560dee36e6db75e84dad3ec8fbb80622639 Cr-Commit-Position: refs/heads/master@{#435149}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M third_party/WebKit/Source/platform/exported/WebURL.cpp View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 18 (12 generated)
Charlie Harrison
kinuko, PTAL
4 years ago (2016-11-30 01:06:45 UTC) #7
kinuko
Hmm... ok, lgtm
4 years ago (2016-11-30 04:53:53 UTC) #11
Charlie Harrison
On 2016/11/30 04:53:53, kinuko wrote: > Hmm... ok, lgtm thanks!
4 years ago (2016-11-30 05:01:44 UTC) #12
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/2537323002/1
4 years ago (2016-11-30 05:03:02 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-30 08:00:01 UTC) #16
commit-bot: I haz the power
4 years ago (2016-11-30 08:02:26 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f08b4560dee36e6db75e84dad3ec8fbb80622639
Cr-Commit-Position: refs/heads/master@{#435149}

Powered by Google App Engine
This is Rietveld 408576698