| Index: chrome/browser/resources/settings/site_settings/site_details_permission.js
|
| diff --git a/chrome/browser/resources/settings/site_settings/site_details_permission.js b/chrome/browser/resources/settings/site_settings/site_details_permission.js
|
| index 5cb99477cb0aab8b4f68381d2790a32098a018b2..3f1b52e60f6719756d5db7fe7bb9855593d487ed 100644
|
| --- a/chrome/browser/resources/settings/site_settings/site_details_permission.js
|
| +++ b/chrome/browser/resources/settings/site_settings/site_details_permission.js
|
| @@ -47,22 +47,12 @@ Polymer({
|
| },
|
|
|
| /**
|
| - * Sets the site to display.
|
| + * Updates the drop-down value after |site| has changed.
|
| * @param {!SiteException} site The site to display.
|
| * @private
|
| */
|
| siteChanged_: function(site) {
|
| -
|
| - this.browserProxy.getExceptionList(this.category).then(
|
| - function(exceptionList) {
|
| - for (var i = 0; i < exceptionList.length; ++i) {
|
| - if (exceptionList[i].embeddingOrigin == site.embeddingOrigin &&
|
| - this.sameOrigin_(exceptionList[i].origin, site.origin)) {
|
| - this.$.permission.value = exceptionList[i].setting;
|
| - break;
|
| - }
|
| - }
|
| - }.bind(this));
|
| + this.$.permission.value = site.setting;
|
| },
|
|
|
| /**
|
|
|