| Index: chrome/browser/automation/url_request_mock_http_job.cc
|
| diff --git a/chrome/browser/automation/url_request_mock_http_job.cc b/chrome/browser/automation/url_request_mock_http_job.cc
|
| index 26a5cc7f1ff96649531dd87368882c18c88b6316..4bb191ac3eac5bb5bc503f162c91fc1d652a352a 100644
|
| --- a/chrome/browser/automation/url_request_mock_http_job.cc
|
| +++ b/chrome/browser/automation/url_request_mock_http_job.cc
|
| @@ -32,10 +32,9 @@ URLRequestJob* URLRequestMockHTTPJob::Factory(URLRequest* request,
|
| }
|
|
|
| // Convert the file:/// URL to a path on disk.
|
| - std::wstring file_path;
|
| + FilePath file_path;
|
| net::FileURLToFilePath(GURL(WideToUTF8(file_url)), &file_path);
|
| - return new URLRequestMockHTTPJob(request,
|
| - FilePath::FromWStringHack(file_path));
|
| + return new URLRequestMockHTTPJob(request, file_path);
|
| }
|
|
|
| /* static */
|
|
|