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

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller.cc

Issue 10833038: Changed a DCHECK() that checked two conditions two two DCHECK()s that check one condition each. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/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 0c766a504766e8350b99901bb9d6f4a41d5372fc..2a8d8ddb823bfcbd3e1cb16423011f278d9f6495 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -1613,7 +1613,8 @@ void TabDragController::ResetSelection(TabStripModel* model) {
}
void TabDragController::RevertDragAt(size_t drag_index) {
- DCHECK(started_drag_ && source_tabstrip_);
+ DCHECK(started_drag_);
+ DCHECK(source_tabstrip_);
TabDragData* data = &(drag_data_[drag_index]);
if (attached_tabstrip_) {
« 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