| Index: webkit/tools/test_shell/mac/test_webview_delegate.mm
|
| diff --git a/webkit/tools/test_shell/mac/test_webview_delegate.mm b/webkit/tools/test_shell/mac/test_webview_delegate.mm
|
| index e0beb0b9c4ea38c1c590057fe61bdf4287fb2b03..58a2b25140fe2ed4e8188e84859c3e02bd24dd54 100644
|
| --- a/webkit/tools/test_shell/mac/test_webview_delegate.mm
|
| +++ b/webkit/tools/test_shell/mac/test_webview_delegate.mm
|
| @@ -205,9 +205,9 @@ void TestWebViewDelegate::UpdateSelectionClipboard(bool is_empty_selection) {
|
|
|
| // Private methods ------------------------------------------------------------
|
|
|
| -void TestWebViewDelegate::ShowJavaScriptAlert(const std::wstring& message) {
|
| +void TestWebViewDelegate::ShowJavaScriptAlert(const string16& message) {
|
| NSString *text =
|
| - [NSString stringWithUTF8String:WideToUTF8(message).c_str()];
|
| + [NSString stringWithUTF8String:UTF16ToUTF8(message).c_str()];
|
| NSAlert *alert = [NSAlert alertWithMessageText:@"JavaScript Alert"
|
| defaultButton:@"OK"
|
| alternateButton:nil
|
|
|