| Index: chrome/browser/prerender/prerender_contents.cc
|
| diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc
|
| index ed97704e3e80bea4ad9011ca13640f3aef321a0d..f03fa7e610014ac24119a7541046858a468917be 100644
|
| --- a/chrome/browser/prerender/prerender_contents.cc
|
| +++ b/chrome/browser/prerender/prerender_contents.cc
|
| @@ -326,8 +326,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 :
|
|
|