Index: chrome/browser/tabs/tab_strip_model_order_controller.cc |
=================================================================== |
--- chrome/browser/tabs/tab_strip_model_order_controller.cc (revision 105162) |
+++ chrome/browser/tabs/tab_strip_model_order_controller.cc (working copy) |
@@ -22,7 +22,7 @@ |
int TabStripModelOrderController::DetermineInsertionIndex( |
TabContentsWrapper* new_contents, |
- PageTransition::Type transition, |
+ content::PageTransition transition, |
bool foreground) { |
int tab_count = tabstrip_->count(); |
if (!tab_count) |
@@ -30,7 +30,8 @@ |
// NOTE: TabStripModel enforces that all non-mini-tabs occur after mini-tabs, |
// so we don't have to check here too. |
- if (transition == PageTransition::LINK && tabstrip_->active_index() != -1) { |
+ if (transition == content::PAGE_TRANSITION_LINK && |
+ tabstrip_->active_index() != -1) { |
int delta = (insertion_policy_ == TabStripModel::INSERT_AFTER) ? 1 : 0; |
if (foreground) { |
// If the page was opened in the foreground by a link click in another |