mirror of
https://github.com/electron/electron.git
synced 2026-02-15 17:45:33 -05:00
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
This commit is contained in:
@@ -146,7 +146,7 @@ void ShowMessageBox(const MessageBoxSettings& settings,
|
||||
}
|
||||
}
|
||||
|
||||
void ShowErrorBox(const base::string16& title, const base::string16& content) {
|
||||
void ShowErrorBox(const std::u16string& title, const std::u16string& content) {
|
||||
NSAlert* alert = [[NSAlert alloc] init];
|
||||
[alert setMessageText:base::SysUTF16ToNSString(title)];
|
||||
[alert setInformativeText:base::SysUTF16ToNSString(content)];
|
||||
|
||||
Reference in New Issue
Block a user