-
Notifications
You must be signed in to change notification settings - Fork 283
Expand file tree
/
Copy pathbrowser.patch
More file actions
28 lines (25 loc) · 1.33 KB
/
browser.patch
File metadata and controls
28 lines (25 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 07b62e25c1ff..d5496277f632 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -2542,7 +2542,9 @@ void AutofillManager::GetAvailableSuggestions(
return;
}
- context->is_context_secure = !IsFormNonSecure(form);
+// context->is_context_secure = !IsFormNonSecure(form);
+ context->is_context_secure = true;
+
// TODO(rogerm): Early exit here on !driver()->RendererIsAvailable()?
// We skip populating autofill data, but might generate warnings and or
diff --git a/components/autofill/core/browser/payments/credit_card_access_manager.cc b/components/autofill/core/browser/payments/credit_card_access_manager.cc
index 560f30b57c88..6b5715949ffd 100644
--- a/components/autofill/core/browser/payments/credit_card_access_manager.cc
+++ b/components/autofill/core/browser/payments/credit_card_access_manager.cc
@@ -163,7 +163,7 @@ void CreditCardAccessManager::PrepareToFetchCreditCard() {
#if !defined(OS_IOS)
// No need to fetch details if there are no server cards.
if (!ServerCardsAvailable())
- return;
+// return;
// Do not make an unnecessary preflight call unless signaled.
if (!can_fetch_unmask_details_.IsSignaled())