Index: chrome/browser/prerender/prerender_contents.cc |
diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc |
index de1ec588f202ad2f0a5ff05732241301b8fd52c2..7047efa9238c40c9950227658c342f3876b2503e 100644 |
--- a/chrome/browser/prerender/prerender_contents.cc |
+++ b/chrome/browser/prerender/prerender_contents.cc |
@@ -332,8 +332,11 @@ void PrerenderContents::StartPrerendering( |
content::NavigationController::LoadURLParams load_url_params( |
prerender_url_); |
load_url_params.referrer = referrer_; |
- load_url_params.transition_type = (origin_ == ORIGIN_OMNIBOX ? |
- content::PAGE_TRANSITION_TYPED : content::PAGE_TRANSITION_LINK); |
+ content::PageTransition transition_type_no_qualifier = |
+ origin_ == ORIGIN_OMNIBOX ? |
+ content::PAGE_TRANSITION_TYPED : content::PAGE_TRANSITION_LINK; |
+ load_url_params.transition_type = content::PageTransitionFromInt( |
+ transition_type_no_qualifier | content::PAGE_TRANSITION_PRERENDER); |
load_url_params.override_user_agent = |
prerender_manager_->config().is_overriding_user_agent ? |
content::NavigationController::UA_OVERRIDE_TRUE : |