Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
index c0757320ac40b5752178fa615f0ca13f9feac230..c9c6f26f031161b4bbfb40e9f02ae40368d56fda 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
@@ -1610,7 +1610,7 @@ void TabDragController::ResetSelection(TabStripModel* model) { |
} |
void TabDragController::RevertDragAt(size_t drag_index) { |
- DCHECK(started_drag_); |
+ DCHECK(started_drag_ && source_tabstrip_); |
James Hawkins
2012/07/26 00:10:50
nit: Don't put two conditions in one DCHECK, other
|
TabDragData* data = &(drag_data_[drag_index]); |
if (attached_tabstrip_) { |