Index: chrome/browser/ui/views/tabs/tab_strip.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
index 6e76a3d6c580e333fee675f49c0d36c3698ade90..7660eed2f5b61697c39d721a64f58e3bf499c1b9 100644 |
--- a/chrome/browser/ui/views/tabs/tab_strip.cc |
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
@@ -1084,7 +1084,7 @@ void TabStrip::MaybeStartDrag( |
// . Real mouse event and control is down. This is mostly for testing. |
DCHECK(event.type() == ui::ET_MOUSE_PRESSED || |
event.type() == ui::ET_GESTURE_BEGIN); |
- if (adjust_layout_ && |
+ if (touch_layout_.get() && |
((event.type() == ui::ET_MOUSE_PRESSED && |
(((event.flags() & ui::EF_FROM_TOUCH) && |
static_cast<const ui::MouseEvent&>(event).IsLeftMouseButton()) || |