| Index: third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js b/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
|
| index 17d5166aa7e95bc260c87182df703b20ad3dc4bf..0ed2041db4b5c4d47aed02e0d6022ccb76a8cdf3 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/ClearStorageView.js
|
| @@ -76,6 +76,18 @@ WebInspector.ClearStorageView.prototype = {
|
| },
|
|
|
| /**
|
| + * @override
|
| + * @param {!WebInspector.Target} target
|
| + */
|
| + targetRemoved: function(target)
|
| + {
|
| + if (this._target !== target)
|
| + return;
|
| + var securityOriginManager = WebInspector.SecurityOriginManager.fromTarget(target);
|
| + securityOriginManager.removeEventListener(WebInspector.SecurityOriginManager.Events.MainSecurityOriginChanged, this._originChanged, this);
|
| + },
|
| +
|
| + /**
|
| * @param {!WebInspector.Event} event
|
| */
|
| _originChanged: function(event)
|
| @@ -151,13 +163,5 @@ WebInspector.ClearStorageView.prototype = {
|
| }, 500);
|
| },
|
|
|
| - /**
|
| - * @override
|
| - * @param {!WebInspector.Target} target
|
| - */
|
| - targetRemoved: function(target)
|
| - {
|
| - },
|
| -
|
| __proto__: WebInspector.VBox.prototype
|
| }
|
|
|