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

Unified Diff: content/browser/web_contents/web_drag_source_mac.mm

Issue 18346006: Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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/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,
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/child/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698