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

Unified Diff: content/browser/web_contents/web_contents_impl_unittest.cc

Issue 1309043003: Handle frame openers in the same FrameTree when navigating subframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-cycle-detection
Patch Set: Add comment for the DCHECK Created 5 years, 4 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/test/data/post_message.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl_unittest.cc
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
index 04e6fdd97f25c6c2212bac776e0a21881e63c35c..bcdc0921ee63619150acea7218c637934fbc3aa3 100644
--- a/content/browser/web_contents/web_contents_impl_unittest.cc
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc
@@ -922,7 +922,7 @@ TEST_F(WebContentsImplTest, FindOpenerRVHWhenPending) {
scoped_ptr<TestWebContents> popup(
TestWebContents::Create(browser_context(), instance));
popup->SetOpener(contents());
- contents()->GetRenderManager()->CreateOpenerProxies(instance);
+ contents()->GetRenderManager()->CreateOpenerProxies(instance, nullptr);
// If swapped out is forbidden, a new proxy should be created for the opener
// in |instance|, and we should ensure that its routing ID is returned here.
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/test/data/post_message.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698