| Index: content/browser/renderer_host/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.cc b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
|
| index 8ab6d621b13b2423c7e88c766b714652f82f7115..205993824612efaa6fe85cfdb8091d4e62305292 100644
|
| --- a/content/browser/renderer_host/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
|
| @@ -178,10 +178,10 @@ bool ShouldServiceRequest(ProcessType process_type,
|
| request_data.request_body->elements();
|
| std::vector<ResourceRequestBody::Element>::const_iterator iter;
|
| for (iter = uploads->begin(); iter != uploads->end(); ++iter) {
|
| - if (iter->type() == ResourceRequestBody::TYPE_FILE &&
|
| - !policy->CanReadFile(child_id, iter->file_path())) {
|
| + if (iter->type() == ResourceRequestBody::Element::TYPE_FILE &&
|
| + !policy->CanReadFile(child_id, iter->path())) {
|
| NOTREACHED() << "Denied unauthorized upload of "
|
| - << iter->file_path().value();
|
| + << iter->path().value();
|
| return false;
|
| }
|
| }
|
|
|