| Index: components/payments/content/payment_request_web_contents_manager.cc
|
| diff --git a/components/payments/content/payment_request_web_contents_manager.cc b/components/payments/content/payment_request_web_contents_manager.cc
|
| index 1c15003aed3828a49399491cc4d2a79526a1870f..1d186e1d6cc3bf19de761c4fbb3b43436f5758aa 100644
|
| --- a/components/payments/content/payment_request_web_contents_manager.cc
|
| +++ b/components/payments/content/payment_request_web_contents_manager.cc
|
| @@ -28,13 +28,14 @@ PaymentRequestWebContentsManager::GetOrCreateForWebContents(
|
| }
|
|
|
| void PaymentRequestWebContentsManager::CreatePaymentRequest(
|
| + content::RenderFrameHost* render_frame_host,
|
| content::WebContents* web_contents,
|
| std::unique_ptr<PaymentRequestDelegate> delegate,
|
| mojo::InterfaceRequest<payments::mojom::PaymentRequest> request,
|
| PaymentRequest::ObserverForTest* observer_for_testing) {
|
| auto new_request = base::MakeUnique<PaymentRequest>(
|
| - web_contents, std::move(delegate), this, std::move(request),
|
| - observer_for_testing);
|
| + render_frame_host, web_contents, std::move(delegate), this,
|
| + std::move(request), observer_for_testing);
|
| PaymentRequest* request_ptr = new_request.get();
|
| payment_requests_.insert(std::make_pair(request_ptr, std::move(new_request)));
|
| }
|
|
|