Chromium Code Reviews| Index: chrome/browser/prerender/prerender_manager.h |
| diff --git a/chrome/browser/prerender/prerender_manager.h b/chrome/browser/prerender/prerender_manager.h |
| index 516cffe56c1741f92307b9736ac0b782ab762229..0a37d62d58687246ab3f18527b10fe87980e6877 100644 |
| --- a/chrome/browser/prerender/prerender_manager.h |
| +++ b/chrome/browser/prerender/prerender_manager.h |
| @@ -126,13 +126,10 @@ class PrerenderManager : public base::SupportsWeakPtr<PrerenderManager>, |
| // For a given WebContents that wants to navigate to the URL supplied, |
| // determines whether a prerendered version of the URL can be used, |
| - // and substitutes the prerendered RVH into the WebContents. |opener_url| is |
| - // set to the window.opener url that the WebContents should have set and |
| - // will be empty if there is no opener set. Returns whether or not a |
| - // prerendered RVH could be used or not. |
| + // and substitutes the prerendered RVH into the WebContents. If a prerendered |
| + // page can't be swapped in, NULL is returned. |
|
dominich
2012/02/28 16:21:00
NULL -> false
|
| bool MaybeUsePrerenderedPage(content::WebContents* web_contents, |
| - const GURL& url, |
| - const GURL& opener_url); |
| + const GURL& url); |
| // Moves a PrerenderContents to the pending delete list from the list of |
| // active prerenders when prerendering should be cancelled. |