| Index: chrome/browser/prerender/prerender_contents.cc
|
| diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc
|
| index 12ba041fc95a098b537bd15225d13c5bcb0d783a..9d2ac64b81f380a869e75a7f89a562dfa51a985b 100644
|
| --- a/chrome/browser/prerender/prerender_contents.cc
|
| +++ b/chrome/browser/prerender/prerender_contents.cc
|
| @@ -337,8 +337,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 :
|
|
|