Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching std::string::npos to WTF::kNotFound for string search
I made a change earlier today not realizing that the strings used in this class were WTF::Strings and not std::strings. This is a follow-up CL to address feedback that I should be using WTF::kNotFound instead of std: :string::npos for the not found case. Change-Id: I6f26ca2b9699e8a085a5368236cb54731480e9d7 Reviewed-on: https://chromium-review.googlesource.com/987536 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#547163}
- Loading branch information