Index: webkit/tools/test_shell/mac/test_shell_webview.mm |
=================================================================== |
--- webkit/tools/test_shell/mac/test_shell_webview.mm (revision 25715) |
+++ webkit/tools/test_shell/mac/test_shell_webview.mm (working copy) |
@@ -87,7 +87,7 @@ |
NSURL* tempUrl = [NSURL URLWithString:url]; |
if (tempUrl && ![tempUrl scheme]) |
url = [@"http://" stringByAppendingString:url]; |
- shell_->LoadURL(UTF8ToWide([url UTF8String]).c_str()); |
+ shell_->LoadURL(GURL(std::string([url UTF8String]))); |
} |
- (void)mouseDown:(NSEvent *)theEvent { |