Index: content/browser/web_contents/web_drag_source_mac.mm |
diff --git a/content/browser/web_contents/web_drag_source_mac.mm b/content/browser/web_contents/web_drag_source_mac.mm |
index c940c8036d0f38ef57c019b0aaa0593e04191825..0c20d22b5b9461b4127d80a22d3687b1760b2240 100644 |
--- a/content/browser/web_contents/web_drag_source_mac.mm |
+++ b/content/browser/web_contents/web_drag_source_mac.mm |
@@ -388,7 +388,8 @@ NSString* GetDropLocation(NSPasteboard* pboard) { |
contents_)); |
// The finalizer will take care of closing and deletion. |
- dragFileDownloader->Start(new PromiseFileFinalizer(dragFileDownloader)); |
+ dragFileDownloader->Start(new PromiseFileFinalizer( |
+ dragFileDownloader.get())); |
} else { |
// The writer will take care of closing and deletion. |
BrowserThread::PostTask(BrowserThread::FILE, |