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 164f613b0f9f19f0d94a0fee0a8e08aa643917e9..e14b364cadfabf96b07000ff83de6d6e87db5ad7 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -764,7 +764,8 @@ void RenderViewHostImpl::DragTargetDragEnter( |
std::string register_name; |
std::string filesystem_id = isolated_context->RegisterFileSystemForPath( |
- file_system_url.type(), file_system_url.path(), ®ister_name); |
+ file_system_url.type(), file_system_url.filesystem_id(), |
+ file_system_url.path(), ®ister_name); |
policy->GrantReadFileSystem(renderer_id, filesystem_id); |
// Note: We are using the origin URL provided by the sender here. It may be |