Index: chrome/browser/autocomplete/shortcuts_provider.cc |
diff --git a/chrome/browser/autocomplete/shortcuts_provider.cc b/chrome/browser/autocomplete/shortcuts_provider.cc |
index a69b391c18eba1b960674c4ed03aac6e9d16d49e..106cf1c68c992f777d08711d934d559a6b0acf15 100644 |
--- a/chrome/browser/autocomplete/shortcuts_provider.cc |
+++ b/chrome/browser/autocomplete/shortcuts_provider.cc |
@@ -200,8 +200,7 @@ AutocompleteMatch ShortcutsProvider::ShortcutToACMatch( |
match.description = shortcut.match_core.description; |
match.description_class = AutocompleteMatch::ClassificationsFromString( |
shortcut.match_core.description_class); |
- match.transition = |
- static_cast<content::PageTransition>(shortcut.match_core.transition); |
+ match.transition = ui::PageTransitionFromInt(shortcut.match_core.transition); |
match.type = static_cast<AutocompleteMatch::Type>(shortcut.match_core.type); |
match.keyword = shortcut.match_core.keyword; |
match.RecordAdditionalInfo("number of hits", shortcut.number_of_hits); |