Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1379)

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10804026: Fix open dialog not remembering last opened folder on drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 32db0a84633ca4d1dcabd28ae1edf2756783db54..8f41ca3015d056d03e349ac19a42d2603df8211a 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -789,7 +789,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.real_path, permissions);
}
Send(new ViewMsg_RunFileChooserResponse(GetRoutingID(), files));
}

Powered by Google App Engine
This is Rietveld 408576698