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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2866623003: PaymentRequest.canMakePayment() query quota on desktop. (Closed)
Patch Set: frame Created 3 years, 7 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 | « no previous file | chrome/browser/payments/payment_request_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index c275577844267cb5851e2295fccab52c44826c3d..dfb99af3fe9ea67dcfd9dbe1921c438f947b6ac4 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -3226,8 +3226,8 @@ void ChromeContentBrowserClient::ExposeInterfacesToFrame(
content::WebContents* web_contents =
content::WebContents::FromRenderFrameHost(render_frame_host);
if (web_contents) {
- registry->AddInterface(base::Bind(
- payments::CreatePaymentRequestForWebContents, web_contents));
+ registry->AddInterface(base::Bind(payments::CreatePaymentRequest,
+ render_frame_host, web_contents));
}
}
#endif
« no previous file with comments | « no previous file | chrome/browser/payments/payment_request_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698