Merge "Remove a use of String16::remove."

This commit is contained in:
Elliott Hughes
2021-05-13 19:04:33 +00:00
committed by Gerrit Code Review

View File

@@ -194,7 +194,8 @@ static String16 pseudo_generate_expansion(const unsigned int length) {
break;
}
}
result.remove(length + ext, 0);
// Just keep the first length + ext characters
result = String16(result, length + ext);
}
return result;
}