Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index afdd60531b51a05daacb7b3fbf67c330a565f5ed..1f9b355dc981527e147d3dfc2b4765c6a1d26e9c 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -1012,7 +1012,7 @@ void LocationBarView::WriteDragDataForView(views::View* sender, |
gfx::ImageSkia favicon = favicon_driver->GetFavicon().AsImageSkia(); |
button_drag_utils::SetURLAndDragImage(web_contents->GetURL(), |
web_contents->GetTitle(), favicon, |
- nullptr, data, sender->GetWidget()); |
+ nullptr, *sender->GetWidget(), data); |
} |
int LocationBarView::GetDragOperationsForView(views::View* sender, |