From 72cbd32707a2ede460bcc1b3cb199e653282a8ed Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Tue, 7 Apr 2009 10:17:12 +0000 Subject: Switching things to FilePath: Remove following deprecated wstring-using functions: net/net_util: FilePathToFileURL net/net_util: FileURLToFilePath Switch net/base/upload_data to FilePath. Switch upload-related parts of net/url_request/url_request to FilePath. Made necessary adjustments in rest of code (a lot). Review URL: http://codereview.chromium.org/63011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13242 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/test_shell_gtk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/tools/test_shell/test_shell_gtk.cc') diff --git a/webkit/tools/test_shell/test_shell_gtk.cc b/webkit/tools/test_shell/test_shell_gtk.cc index 7083d7c..1041bdd 100644 --- a/webkit/tools/test_shell/test_shell_gtk.cc +++ b/webkit/tools/test_shell/test_shell_gtk.cc @@ -570,7 +570,7 @@ void TestShell::LoadURLForFrame(const wchar_t* url, // PathExists will reject any string with no leading '/' // as well as empty strings. if (file_util::AbsolutePath(&path)) - gurl = net::FilePathToFileURL(path); + gurl = net::FilePathToFileURL(FilePath::FromWStringHack(path)); else gurl = GURL(WideToUTF8(url)); -- cgit v1.1