Index: chrome/browser/renderer_host/resource_dispatcher_host.cc |
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc |
index b2b2c739bc14e7ab10ebb821b8286580b6bf3fb5..1a73ca59fdce80318000ba75997dab097570aa9d 100644 |
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc |
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc |
@@ -122,9 +122,9 @@ bool ShouldServiceRequest(ChildProcessInfo::ProcessType process_type, |
std::vector<net::UploadData::Element>::const_iterator iter; |
for (iter = uploads.begin(); iter != uploads.end(); ++iter) { |
if (iter->type() == net::UploadData::TYPE_FILE && |
- !policy->CanUploadFile(process_id, |
- FilePath::FromWStringHack(iter->file_path()))) { |
- NOTREACHED() << "Denied unauthorized upload of " << iter->file_path(); |
+ !policy->CanUploadFile(process_id, iter->file_path())) { |
+ NOTREACHED() << "Denied unauthorized upload of " |
+ << iter->file_path().value(); |
return false; |
} |
} |