Index: components/autofill/core/browser/autofill_manager.cc |
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
index 8ce3a2948dfe570068b273210dd3e88583c3f34e..63093c974a547ce2c001505a0fc7df6c136dca88 100644 |
--- a/components/autofill/core/browser/autofill_manager.cc |
+++ b/components/autofill/core/browser/autofill_manager.cc |
@@ -117,9 +117,7 @@ bool SectionIsAutofilled(const FormStructure& form_structure, |
} |
bool FormIsHTTPS(const FormStructure& form) { |
- // TODO(blundell): Change this to use a constant once crbug.com/306258 is |
- // fixed. |
- return form.source_url().SchemeIs("https"); |
+ return form.source_url().SchemeIs(url::kHttpsScheme); |
} |
// Uses the existing personal data in |profiles| and |credit_cards| to determine |