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

Unified Diff: chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc

Issue 2614883003: Cache web contents in credit card scanner. (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « chrome/browser/android/chrome_feature_list.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc
diff --git a/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc b/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc
index 39a087ebbee42bfac00530454790480fa86c7945..94292efa9678bd9b8d1f1db7d1dbfe1bbed4baef 100644
--- a/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc
+++ b/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc
@@ -55,10 +55,7 @@ CreditCardScannerViewAndroid::CreditCardScannerViewAndroid(
base::android::AttachCurrentThread(),
reinterpret_cast<intptr_t>(this),
base::android::GetApplicationContext(),
- ViewAndroidHelper::FromWebContents(web_contents)
- ->GetViewAndroid()
- ->GetWindowAndroid()
- ->GetJavaObject())) {}
+ web_contents->GetJavaWebContents())) {}
CreditCardScannerViewAndroid::~CreditCardScannerViewAndroid() {}
« no previous file with comments | « chrome/browser/android/chrome_feature_list.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698