summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prerender
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/prerender')
-rw-r--r--chrome/browser/prerender/prerender_contents.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc
index 5313cf0..58f0b07 100644
--- a/chrome/browser/prerender/prerender_contents.cc
+++ b/chrome/browser/prerender/prerender_contents.cc
@@ -24,6 +24,7 @@
#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/site_instance.h"
#include "content/common/notification_service.h"
+#include "content/common/view_messages.h"
#include "ui/gfx/rect.h"
#if defined(OS_MACOSX)
@@ -137,7 +138,7 @@ void PrerenderContents::StartPrerendering() {
ViewMsg_Navigate_Params params;
params.url = prerender_url_;
params.transition = PageTransition::LINK;
- params.navigation_type = ViewMsg_Navigate_Params::PRERENDER;
+ params.navigation_type = ViewMsg_Navigate_Type::PRERENDER;
params.referrer = referrer_;
render_view_host_->Navigate(params);