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

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 15010: Implement extension:// protocol. (Closed)
Patch Set: add missing unit test Created 12 years 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 | « net/url_request/url_request_file_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.cc
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 47d29d5c285c326fdfdee2003fd480d2c9af5f39..581db71b9213fa6d87801eca72815f7f3b9fafde 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);
« no previous file with comments | « net/url_request/url_request_file_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698