summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_drag_source.cc
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 17:40:02 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 17:40:02 +0000
commit85c1b4919564d5678546d15c21360d31e5a05faf (patch)
treeb306b93b8eac951b1b1f338c87437e94d122bed0 /chrome/browser/tab_contents/web_drag_source.cc
parenta003b3c269dbca5e2ca7bccf541319e11869e545 (diff)
downloadchromium_src-85c1b4919564d5678546d15c21360d31e5a05faf.zip
chromium_src-85c1b4919564d5678546d15c21360d31e5a05faf.tar.gz
chromium_src-85c1b4919564d5678546d15c21360d31e5a05faf.tar.bz2
Try to track down the cause of the Drag&Drop crash seen in bug 12524.
BUG=12524 TEST=None, we just need to monitor the crash reports from the field. Review URL: http://codereview.chromium.org/150136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_drag_source.cc')
-rw-r--r--chrome/browser/tab_contents/web_drag_source.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/web_drag_source.cc b/chrome/browser/tab_contents/web_drag_source.cc
index d85df62..0abf968 100644
--- a/chrome/browser/tab_contents/web_drag_source.cc
+++ b/chrome/browser/tab_contents/web_drag_source.cc
@@ -37,6 +37,11 @@ WebDragSource::WebDragSource(gfx::NativeWindow source_wnd,
: BaseDragSource(),
source_wnd_(source_wnd),
render_view_host_(render_view_host) {
+ // In an effort to try to track down http://crbug.com/12524 we now CHECK
+ // when a NULL render_view_host is passed to us. I think this is what is
+ // happening but it is hard to tell since the minidump is not helpful in this
+ // case. At least we can then rule that out.
+ CHECK(render_view_host_);
}
void WebDragSource::OnDragSourceCancel() {