From bae0ea1f95c5c3a02761d942c0802ec877c1a106 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Sat, 14 Feb 2009 01:20:41 +0000 Subject: Change mime type utils to operate on platform-specific string types for filenames/file extensions. Review URL: http://codereview.chromium.org/21327 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9809 0039d316-1c4b-4281-b951-d872f2087c98 --- net/url_request/url_request_file_job.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/url_request') diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc index 2cdd109..baf94a2 100644 --- a/net/url_request/url_request_file_job.cc +++ b/net/url_request/url_request_file_job.cc @@ -151,7 +151,7 @@ bool URLRequestFileJob::ReadRawData(net::IOBuffer* dest, int dest_size, bool URLRequestFileJob::GetMimeType(std::string* mime_type) { DCHECK(request_); - return net::GetMimeTypeFromFile(file_path_.ToWStringHack(), mime_type); + return net::GetMimeTypeFromFile(file_path_, mime_type); } void URLRequestFileJob::DidResolve( -- cgit v1.1