| Index: third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js b/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js
|
| index 1aa6f3a29769829e73c80cb64dad7cdf6541528d..3b18865a4b0822343074bc7ee6d428d6771858df 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/resources/DOMStorageModel.js
|
| @@ -113,20 +113,12 @@ Resources.DOMStorageModel = class extends SDK.SDKModel {
|
| constructor(target) {
|
| super(target);
|
|
|
| - this._securityOriginManager = SDK.SecurityOriginManager.fromTarget(target);
|
| + this._securityOriginManager = target.model(SDK.SecurityOriginManager);
|
| /** @type {!Object.<string, !Resources.DOMStorage>} */
|
| this._storages = {};
|
| this._agent = target.domstorageAgent();
|
| }
|
|
|
| - /**
|
| - * @param {!SDK.Target} target
|
| - * @return {!Resources.DOMStorageModel}
|
| - */
|
| - static fromTarget(target) {
|
| - return /** @type {!Resources.DOMStorageModel} */ (target.model(Resources.DOMStorageModel));
|
| - }
|
| -
|
| enable() {
|
| if (this._enabled)
|
| return;
|
|
|