Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2122)

Unified Diff: content/browser/tab_contents/tab_contents.cc

Issue 9416031: Prerendered pages are swapped in at browser::Navigate time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Limit to origin process Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index f70a699e38a8313fde63cfe20d5bd23d31d93cf2..23be9214bffe6b5cf69883c4a2152b4d503e23e0 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -2460,3 +2460,7 @@ void TabContents::CreateViewAndSetSizeForRVH(RenderViewHost* rvh) {
if (rwh_view)
rwh_view->SetSize(GetView()->GetContainerSize());
}
+
+const GURL& TabContents::GetOpenerOrigin() const {
+ return opener_origin_;
+}

Powered by Google App Engine
This is Rietveld 408576698