2752406: [LSC] Replace base::string16 with std::u16string in //ui

2752406
This commit is contained in:
John Kleinschmidt 2021-03-15 21:21:27 -04:00
parent d4bec23bde
commit 9e336f5d0c
8 changed files with 15 additions and 15 deletions

View file

@ -44,10 +44,10 @@ int VectorToBitArray(const std::vector<T>& vec) {
namespace gin {
template <>
struct Converter<base::char16> {
struct Converter<char16_t> {
static bool FromV8(v8::Isolate* isolate,
v8::Handle<v8::Value> val,
base::char16* out) {
char16_t* out) {
base::string16 code = base::UTF8ToUTF16(gin::V8ToString(isolate, val));
if (code.length() != 1)
return false;