Index: third_party/WebKit/Source/devtools/front_end/resources/ApplicationCacheModel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ApplicationCacheModel.js b/third_party/WebKit/Source/devtools/front_end/resources/ApplicationCacheModel.js |
index 9114b726d876c4a95901995e87e2cb323b429fa2..b4ee706994d876ac2bcb367da918b9e76cec11e2 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/resources/ApplicationCacheModel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ApplicationCacheModel.js |
@@ -32,12 +32,13 @@ |
Resources.ApplicationCacheModel = class extends SDK.SDKModel { |
/** |
* @param {!SDK.Target} target |
+ * @param {!Protocol.Dispatcher} dispatcher |
*/ |
- constructor(target) { |
- super(target); |
+ constructor(target, dispatcher) { |
+ super(target, dispatcher); |
- target.registerApplicationCacheDispatcher(new Resources.ApplicationCacheDispatcher(this)); |
- this._agent = target.applicationCacheAgent(); |
+ dispatcher.registerApplicationCacheDispatcher(new Resources.ApplicationCacheDispatcher(this)); |
+ this._agent = dispatcher.applicationCacheAgent(); |
this._agent.enable(); |
var resourceTreeModel = target.model(SDK.ResourceTreeModel); |