summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/test_shell.cc')
-rw-r--r--webkit/tools/test_shell/test_shell.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 01cd638..fa8b39d 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -84,8 +84,8 @@ class URLRequestTestShellFileJob : public URLRequestFileJob {
private:
URLRequestTestShellFileJob(URLRequest* request, const std::wstring& path)
- : URLRequestFileJob(request) {
- this->file_path_ = path; // set URLRequestFileJob::file_path_
+ : URLRequestFileJob(request) {
+ this->file_path_ = FilePath::FromWStringHack(path);
}
DISALLOW_COPY_AND_ASSIGN(URLRequestTestShellFileJob);