| Index: chrome/browser/cocoa/web_drag_source.mm
|
| diff --git a/chrome/browser/cocoa/web_drag_source.mm b/chrome/browser/cocoa/web_drag_source.mm
|
| index a2402dabd3f81f56c87e78fa546adb5545ea7479..95ab0d1f8b233162e351860e65d77823663bcd86 100644
|
| --- a/chrome/browser/cocoa/web_drag_source.mm
|
| +++ b/chrome/browser/cocoa/web_drag_source.mm
|
| @@ -307,13 +307,13 @@ void PromiseWriterTask::Run() {
|
|
|
| if (downloadURL_.is_valid()) {
|
| TabContents* tabContents = [contentsView_ tabContents];
|
| - scoped_refptr<DragDownloadFile> dragFileDownloader = new DragDownloadFile(
|
| + scoped_refptr<DragDownloadFile> dragFileDownloader(new DragDownloadFile(
|
| filePath,
|
| linked_ptr<net::FileStream>(fileStream),
|
| downloadURL_,
|
| tabContents->GetURL(),
|
| tabContents->encoding(),
|
| - tabContents);
|
| + tabContents));
|
|
|
| // The finalizer will take care of closing and deletion.
|
| dragFileDownloader->Start(
|
|
|