Index: chrome/browser/resources/options2/instant_confirm_overlay.js |
diff --git a/chrome/browser/resources/options2/instant_confirm_overlay.js b/chrome/browser/resources/options2/instant_confirm_overlay.js |
index c1890ec95bed9b3725bc7668a91de3c8391cf0b7..6cadd5c30a22de1efaa631c98ec239ede29314ae 100644 |
--- a/chrome/browser/resources/options2/instant_confirm_overlay.js |
+++ b/chrome/browser/resources/options2/instant_confirm_overlay.js |
@@ -32,7 +32,8 @@ cr.define('options', function() { |
/** @inheritDoc */ |
handleConfirm: function() { |
SettingsDialog.prototype.handleConfirm.call(this); |
- chrome.send('enableInstant'); |
+ Preferences.setBooleanPref('instant.confirm_dialog_shown', true); |
+ Preferences.setBooleanPref('instant.enabled', true); |
}, |
/** @inheritDoc */ |