summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/test_shell.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index cb2d437..b31abee 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -97,13 +97,13 @@ class URLRequestTestShellFileJob : public URLRequestFileJob {
file_util::AppendToPath(&path, L"Resources");
file_util::AppendToPath(&path, L"Inspector");
file_util::AppendToPath(&path, UTF8ToWide(request->url().path()));
- return new URLRequestTestShellFileJob(request, path);
+ return new URLRequestTestShellFileJob(request,
+ FilePath::FromWStringHack(path));
}
private:
- URLRequestTestShellFileJob(URLRequest* request, const std::wstring& path)
- : URLRequestFileJob(request) {
- this->file_path_ = FilePath::FromWStringHack(path);
+ URLRequestTestShellFileJob(URLRequest* request, const FilePath& path)
+ : URLRequestFileJob(request, path) {
}
DISALLOW_COPY_AND_ASSIGN(URLRequestTestShellFileJob);