| commit | a5673d69964d773f0111e2e6a600ac180587c2f6 | [log] [tgz] |
|---|---|---|
| author | esprehn <esprehn@chromium.org> | Thu Jul 14 02:41:44 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Thu Jul 14 02:44:49 2016 |
| tree | 9bd102b03ad6f94605e0d70b3d113bbc8b723ac8 | |
| parent | 1adf0ee89ff0fc220845bcef943e464fa114f5b3 [diff] |
Use StringView for startsWith and endsWith. This lets us collapse lots of the code paths together, and means we can now handle startsWith(kConst) without doing a strlen or a malloc of a String object. BUG=615174 Review-Url: https://codereview.chromium.org/2146163003 Cr-Commit-Position: refs/heads/master@{#405410}