| Index: chrome/browser/download/download_util.cc
|
| diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
|
| index ef25a03d2e1c39a6b0fef5f4efcbd99bd58ade1a..d1eb22ad018f4a26285261912ee681a8fceddb6d 100644
|
| --- a/chrome/browser/download/download_util.cc
|
| +++ b/chrome/browser/download/download_util.cc
|
| @@ -398,6 +398,11 @@ void DragDownload(const DownloadItem* download,
|
|
|
| #if !defined(TOOLKIT_USES_GTK)
|
| views::Widget* widget = views::Widget::GetWidgetForNativeView(view);
|
| + // TODO(varunjain): Widget should not be NULL here. But its causing the crash
|
| + // in http://code.google.com/p/chromium/issues/detail?id=120430 Find out why.
|
| + if (!widget || !widget->native_widget())
|
| + return;
|
| +
|
| gfx::Point location = gfx::Screen::GetCursorScreenPoint();
|
| // We do not care about notifying the DragItemView on completion of drag. So
|
| // we pass NULL to RunShellDrag for the source view.
|
|
|