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

Issue 2647633006: Make KURL::protocolIs take StringView (+ DCHECK cleanups) (Closed)

Created:
3 years, 11 months ago by Charlie Harrison
Modified:
3 years, 11 months ago
Reviewers:
esprehn
CC:
blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make KURL::protocolIs take StringView (+ DCHECK cleanups) This ensures callers who use literal strings get strlen() optimized away. BUG=615174 Review-Url: https://codereview.chromium.org/2647633006 Cr-Commit-Position: refs/heads/master@{#445132} Committed: https://chromium.googlesource.com/chromium/src/+/7e153cec8a4925c2d913031c3104b785b18658c5

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Make KURL::protocolIs take StringView (+ DCHECK cleanups) #

Patch Set 4 : Make KURL::protocolIs take StringView (+ DCHECK cleanups) #

Patch Set 5 : comment only changes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -16 lines) Patch
M third_party/WebKit/Source/platform/weborigin/KURL.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/KURL.cpp View 1 2 3 6 chunks +16 lines, -13 lines 1 comment Download

Messages

Total messages: 27 (21 generated)
Charlie Harrison
esprehn: PTAL (simple review)
3 years, 11 months ago (2017-01-20 15:51:34 UTC) #17
esprehn
lgtm https://codereview.chromium.org/2647633006/diff/80001/third_party/WebKit/Source/platform/weborigin/KURL.cpp File third_party/WebKit/Source/platform/weborigin/KURL.cpp (right): https://codereview.chromium.org/2647633006/diff/80001/third_party/WebKit/Source/platform/weborigin/KURL.cpp#newcode55 third_party/WebKit/Source/platform/weborigin/KURL.cpp:55: DCHECK(c > ' ' && c < 0x7F ...
3 years, 11 months ago (2017-01-20 17:50:04 UTC) #18
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/2647633006/80001
3 years, 11 months ago (2017-01-20 17:53:29 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/346512) ios-device on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-20 17:54:24 UTC) #22
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/2647633006/80001
3 years, 11 months ago (2017-01-20 18:01:54 UTC) #24
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 19:37:23 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/7e153cec8a4925c2d913031c3104...

Powered by Google App Engine
This is Rietveld 408576698