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

Unified Diff: chrome/browser/tab_contents/web_drag_source.cc

Issue 150136: Try to track down the cause of the Drag&Drop crash seen in bug 12524.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/web_drag_source.cc
===================================================================
--- chrome/browser/tab_contents/web_drag_source.cc (revision 19579)
+++ chrome/browser/tab_contents/web_drag_source.cc (working copy)
@@ -37,6 +37,11 @@
: 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::OnDragSourceDrop() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698