Removes an unnecessary check in FromUntrimmedRawString
We removed the usage of HostForURL() in this function, IPAddress::AssignedFromIPLiteral() is tolerated to '\0', so there is no need for this check anymore. Bug: 1030092 Change-Id: I1f37ff138ad1f06eab2bf82223bf7d567dc73e6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2057542Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Shimi Zhang <ctzsm@chromium.org> Cr-Commit-Position: refs/heads/master@{#742262}
Showing
Please register or sign in to comment