summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/ui/views/tabs/tab_drag_controller.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
index 048140b..54ba502 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc
@@ -9,7 +9,6 @@
#include "base/auto_reset.h"
#include "base/callback.h"
-#include "base/debug/alias.h"
#include "base/i18n/rtl.h"
#include "base/macros.h"
#include "build/build_config.h"
@@ -879,15 +878,6 @@ TabStrip* TabDragController::GetTabStripForWindow(gfx::NativeWindow window) {
attached_tabstrip_ ? attached_tabstrip_ : source_tabstrip_;
DCHECK(tab_strip);
- CHECK(instance_);
- if (!other_tabstrip->controller() || !tab_strip->controller()) {
- base::debug::Alias(attached_tabstrip_);
- base::debug::Alias(source_tabstrip_);
- base::debug::Alias(other_tabstrip);
- CHECK(other_tabstrip->controller());
- CHECK(tab_strip->controller());
- }
-
return other_tabstrip->controller()->IsCompatibleWith(tab_strip) ?
other_tabstrip : NULL;
}