| Index: third_party/WebKit/Source/devtools/front_end/sdk/ApplicationCacheModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ApplicationCacheModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ApplicationCacheModel.js
|
| index 1d0373d15aa7972728638a074a871e2b03bf580e..aa648871e03bc7c7fecc8c2c336df54ffe6c2d53 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/ApplicationCacheModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/ApplicationCacheModel.js
|
| @@ -30,8 +30,9 @@
|
| * @constructor
|
| * @extends {WebInspector.SDKModel}
|
| * @param {!WebInspector.Target} target
|
| + * @param {!WebInspector.ResourceTreeModel} resourceTreeModel
|
| */
|
| -WebInspector.ApplicationCacheModel = function(target)
|
| +WebInspector.ApplicationCacheModel = function(target, resourceTreeModel)
|
| {
|
| WebInspector.SDKModel.call(this, WebInspector.ApplicationCacheModel, target);
|
|
|
| @@ -39,8 +40,8 @@ WebInspector.ApplicationCacheModel = function(target)
|
| this._agent = target.applicationCacheAgent();
|
| this._agent.enable();
|
|
|
| - target.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameNavigated, this._frameNavigated, this);
|
| - target.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameDetached, this._frameDetached, this);
|
| + resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameNavigated, this._frameNavigated, this);
|
| + resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.FrameDetached, this._frameDetached, this);
|
|
|
| this._statuses = {};
|
| this._manifestURLsByFrame = {};
|
|
|