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

Unified Diff: chrome/views/hwnd_view.cc

Issue 21105: Add debugging info to hopefully catch what's causing 6316 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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/views/hwnd_view.cc
===================================================================
--- chrome/views/hwnd_view.cc (revision 9105)
+++ chrome/views/hwnd_view.cc (working copy)
@@ -31,6 +31,8 @@
void HWNDView::Attach(HWND hwnd) {
DCHECK(hwnd_ == NULL);
+ DCHECK(hwnd) << "Impossible detatched tab case; See crbug.com/6316";
+
hwnd_ = hwnd;
// First hide the new window. We don't want anything to draw (like sub-hwnd
« 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