Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index e60da1afb4c06e82896ce063b1c9829e5f427553..a8d89f607a049a1cc9d0ca73c967d0b64ab04f59 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -798,7 +798,7 @@ void RenderViewHostImpl::FilesSelectedInChooser( |
for (size_t i = 0; i < files.size(); ++i) { |
const ui::SelectedFileInfo& file = files[i]; |
ChildProcessSecurityPolicyImpl::GetInstance()->GrantPermissionsForFile( |
- GetProcess()->GetID(), file.path, permissions); |
+ GetProcess()->GetID(), file.local_path, permissions); |
} |
Send(new ViewMsg_RunFileChooserResponse(GetRoutingID(), files)); |
} |