| Index: chrome/browser/ui/tabs/tab_strip_model_order_controller.cc
|
| diff --git a/chrome/browser/ui/tabs/tab_strip_model_order_controller.cc b/chrome/browser/ui/tabs/tab_strip_model_order_controller.cc
|
| index b91b34877dbe981cd9d4d6bd89ef17ddfa48cf16..4da7b98d5f6ae7ac29e21d249dc3ee3576cee64d 100644
|
| --- a/chrome/browser/ui/tabs/tab_strip_model_order_controller.cc
|
| +++ b/chrome/browser/ui/tabs/tab_strip_model_order_controller.cc
|
| @@ -28,7 +28,7 @@ int TabStripModelOrderController::DetermineInsertionIndex(
|
|
|
| // NOTE: TabStripModel enforces that all non-mini-tabs occur after mini-tabs,
|
| // so we don't have to check here too.
|
| - if (transition == ui::PAGE_TRANSITION_LINK &&
|
| + if (ui::PageTransitionCoreTypeIs(transition, ui::PAGE_TRANSITION_LINK) &&
|
| tabstrip_->active_index() != -1) {
|
| if (foreground) {
|
| // If the page was opened in the foreground by a link click in another
|
|
|