Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / options / chromeos / accounts_options.js
index 3524861..8366865 100644 (file)
@@ -81,6 +81,7 @@ cr.define('options', function() {
      */
     handleVisibleChange_: function(e) {
       if (this.visible) {
+        chrome.send('updateWhitelist');
         this.updateControls_();
         if (this.showWhitelist_)
           $('userList').redraw();
@@ -94,7 +95,7 @@ cr.define('options', function() {
     handleUseWhitelistCheckChange_: function(e) {
       // Whitelist existing users when guest login is being disabled.
       if ($('useWhitelistCheck').checked) {
-        chrome.send('whitelistExistingUsers');
+        chrome.send('updateWhitelist');
       }
 
       this.updateControls_();