Index: chrome/browser/tab_contents/match_preview.cc |
diff --git a/chrome/browser/tab_contents/match_preview.cc b/chrome/browser/tab_contents/match_preview.cc |
index 2b25bb2fcf3cacd81850c6524b28d6f0ddf4a9ef..e737422480d216d5b5363d797120c17d26995caf 100644 |
--- a/chrome/browser/tab_contents/match_preview.cc |
+++ b/chrome/browser/tab_contents/match_preview.cc |
@@ -454,7 +454,8 @@ MatchPreview::MatchPreview(MatchPreviewDelegate* delegate) |
: delegate_(delegate), |
tab_contents_(NULL), |
is_active_(false), |
- template_url_id_(0) { |
+ template_url_id_(0), |
+ last_transition_type_(PageTransition::LINK) { |
preview_tab_contents_delegate_.reset(new TabContentsDelegateImpl(this)); |
} |
@@ -472,6 +473,7 @@ void MatchPreview::Update(TabContents* tab_contents, |
DestroyPreviewContents(); |
tab_contents_ = tab_contents; |
+ last_transition_type_ = match.transition; |
if (url_ == match.destination_url) |
return; |