Index: chrome/browser/prerender/prerender_browsertest.cc |
diff --git a/chrome/browser/prerender/prerender_browsertest.cc b/chrome/browser/prerender/prerender_browsertest.cc |
index 1b598c2f8f60dde6528abaed70a0cc6544f78a6b..8bb5b76e526e41050c4dad2bf530e5252df51970 100644 |
--- a/chrome/browser/prerender/prerender_browsertest.cc |
+++ b/chrome/browser/prerender/prerender_browsertest.cc |
@@ -98,7 +98,7 @@ class TestPrerenderContents : public PrerenderContents { |
int number_of_loads, |
FinalStatus expected_final_status) |
: PrerenderContents(prerender_manager, prerender_tracker, profile, |
- url, referrer), |
+ url, referrer, ORIGIN_LINK_REL_PRERENDER), |
number_of_loads_(0), |
expected_number_of_loads_(number_of_loads), |
expected_final_status_(expected_final_status), |
@@ -243,7 +243,8 @@ class WaitForLoadPrerenderContentsFactory : public PrerenderContents::Factory { |
PrerenderTracker* prerender_tracker, |
Profile* profile, |
const GURL& url, |
- const GURL& referrer) OVERRIDE { |
+ const GURL& referrer, |
+ Origin origin) OVERRIDE { |
CHECK(!expected_final_status_queue_.empty()) << |
"Creating prerender contents for " << url.path() << |
" with no expected final status"; |