Index: content/browser/tab_contents/web_drag_source_gtk.cc |
diff --git a/content/browser/tab_contents/web_drag_source_gtk.cc b/content/browser/tab_contents/web_drag_source_gtk.cc |
index da09af234226bbc3566c02bd08751b057afd6ebb..6be0dc64c93031bcfd59a07058b2d866ea720cb4 100644 |
--- a/content/browser/tab_contents/web_drag_source_gtk.cc |
+++ b/content/browser/tab_contents/web_drag_source_gtk.cc |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/render_view_host_delegate.h" |
#include "content/public/browser/web_contents_view.h" |
+#include "content/public/common/content_client.h" |
#include "net/base/file_stream.h" |
#include "net/base/net_util.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
@@ -243,7 +244,9 @@ void WebDragSourceGtk::OnDragDataGet(GtkWidget* sender, |
if (net::FileURLToFilePath(file_url, &file_path)) { |
// Open the file as a stream. |
net::FileStream* file_stream = |
- drag_download_util::CreateFileStreamForDrop(&file_path); |
+ drag_download_util::CreateFileStreamForDrop( |
+ &file_path, |
+ content::GetContentClient()->browser()->GetNetLog()); |
if (file_stream) { |
// Start downloading the file to the stream. |
scoped_refptr<DragDownloadFile> drag_file_downloader = |