Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(995)

Unified Diff: webkit/tools/test_shell/mac/test_shell_webview.mm

Issue 200054: Hook up WebFrameClient, replacing many WebViewDelegate methods.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/tools/test_shell/listener_leak_test.cc ('k') | webkit/tools/test_shell/mac/webview_host.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « webkit/tools/test_shell/listener_leak_test.cc ('k') | webkit/tools/test_shell/mac/webview_host.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698