Index: chrome/browser/prerender/prerender_contents.h |
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h |
index 9a48784a6fdc2bcba3cd159b51fe00f7a58722ae..c1ea675e705281ed9ad7344b93715f29ace213d7 100644 |
--- a/chrome/browser/prerender/prerender_contents.h |
+++ b/chrome/browser/prerender/prerender_contents.h |
@@ -110,12 +110,12 @@ class PrerenderContents : public content::NotificationObserver, |
// Start rendering the contents in the prerendered state. If |
// |is_control_group| is true, this will go through some of the mechanics of |
- // starting a prerender, without actually creating the RenderView. |size| |
- // indicates the rectangular dimensions that the prerendered page should be. |
+ // starting a prerender, without actually creating the RenderView. |bounds| |
+ // indicates the rectangular dimensions that the prerendered page should have. |
// |session_storage_namespace| indicates the namespace that the prerendered |
// page should be part of. |
virtual void StartPrerendering( |
- const gfx::Size& size, |
+ const gfx::Rect& bounds, |
content::SessionStorageNamespace* session_storage_namespace); |
// Verifies that the prerendering is not using too many resources, and kills |
@@ -343,8 +343,8 @@ class PrerenderContents : public content::NotificationObserver, |
// Origin for this prerender. |
Origin origin_; |
- // The size of the WebView from the launching page. |
- gfx::Size size_; |
+ // The bounds of the WebView from the launching page. |
+ gfx::Rect bounds_; |
typedef std::vector<history::HistoryAddPageArgs> AddPageVector; |