| Index: chrome/browser/resources/options/content_settings.js
|
| diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
|
| index a9a80bb3d56b5bccd526949fdd10e4d193501511..2b40cbf0ef700126295b68341a32d9dedb0c696e 100644
|
| --- a/chrome/browser/resources/options/content_settings.js
|
| +++ b/chrome/browser/resources/options/content_settings.js
|
| @@ -98,11 +98,7 @@ cr.define('options', function() {
|
| document.querySelector('div[contentType=' + type + ']' +
|
| ' list[mode=normal]');
|
|
|
| - exceptionsList.reset();
|
| - for (var i = 0; i < list.length; i++) {
|
| - exceptionsList.addException(list[i]);
|
| - }
|
| - exceptionsList.redraw();
|
| + exceptionsList.setExceptions(list);
|
| };
|
|
|
| ContentSettings.setOTRExceptions = function(type, list) {
|
| @@ -111,12 +107,7 @@ cr.define('options', function() {
|
| ' list[mode=otr]');
|
|
|
| exceptionsList.parentNode.classList.remove('hidden');
|
| -
|
| - exceptionsList.reset();
|
| - for (var i = 0; i < list.length; i++) {
|
| - exceptionsList.addException(list[i]);
|
| - }
|
| - exceptionsList.redraw();
|
| + exceptionsList.setExceptions(list);
|
| };
|
|
|
| /**
|
|
|