Skip to content

Commit

Permalink
fixup! Pass newly-added parameter to Profile::GetPrimaryOTRProfile()
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarolin committed Jul 14, 2021
1 parent db7fa9d commit 3f26a9d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ TEST_F(IPFSRedirectNetworkDelegateHelperTest, HeadersIPFSWorkNoRedirect) {
TEST_F(IPFSRedirectNetworkDelegateHelperTest, PrivateProfile) {
GURL url("ipfs://QmfM2r8seH2GiRaC4esTjeraXEachRt8ZsSeGaWTPLyMoG");
auto brave_request_info = std::make_shared<brave::BraveRequestInfo>(url);
brave_request_info->browser_context = profile()->GetPrimaryOTRProfile();
brave_request_info->browser_context =
profile()->GetPrimaryOTRProfile(/*create_if_needed=*/true);
brave_request_info->ipfs_gateway_url = GetPublicGateway();
brave_request_info->initiator_url = ipfs::GetIPFSGatewayURL(
initiator_cid, "", ipfs::GetDefaultIPFSGateway(profile()->GetPrefs()));
Expand Down

0 comments on commit 3f26a9d

Please sign in to comment.