Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index d159670552a378f490e83c2296e981a5901f8276..cf003bfe0f300567b765588e748d093cad00b205 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -268,7 +268,8 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest, |
RenderFrameHostImpl* opener = |
static_cast<RenderFrameHostImpl*>(pending_rvh->GetMainFrame()); |
- mojom::CreateNewWindowParamsPtr params; |
+ mojom::CreateNewWindowParamsPtr params = mojom::CreateNewWindowParams::New(); |
+ params->target_url = GURL("about:blank"); |
opener->CreateNewWindow(std::move(params), |
base::Bind([](mojom::CreateNewWindowReplyPtr) {})); |
// If the above operation doesn't cause a crash, the test has succeeded! |