Index: chrome/browser/resources/options/autofill_options.js |
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js |
index 49ce81fb11baafc704298f0122ac9f995e2d4f9e..ce9775dca6772294bc1ea954549094d4e81623d0 100644 |
--- a/chrome/browser/resources/options/autofill_options.js |
+++ b/chrome/browser/resources/options/autofill_options.js |
@@ -89,8 +89,10 @@ cr.define('options', function() { |
return true; // Always follow the href |
}; |
- $('autofill-wallet-card-area').hidden = |
- !loadTimeData.getBoolean('enableAutofillWalletIntegration'); |
+ var enableWalletIntegration = |
+ loadTimeData.getBoolean('enableAutofillWalletIntegration'); |
+ $('autofill-wallet-remask-cards-area').hidden = !enableWalletIntegration; |
+ $('autofill-wallet-setting-area').hidden = !enableWalletIntegration; |
// TODO(estade): there should probably be some indication of success. |
$('remask-server-cards-link').onclick = function(event) { |
chrome.send('remaskServerCards'); |