MediaFragmentURIParser: Use WTF::CString and char for UTF-8 data.
8-bit WTF::String and LChar are expected to be used for Latin-1 data, rather than UTF-8. Using CString and char is more idiomatic, and as a bonus, avoids a copy (since String::Utf8 returns a CString already). Change-Id: I5a4f726d4980a143793cd88cc80f79fb7375ea72 Reviewed-on: https://chromium-review.googlesource.com/521965 Commit-Queue: Jeremy Roman <jbroman@chromium.org> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#478690}
Showing
Please register or sign in to comment