Index: third_party/WebKit/Source/devtools/front_end/sdk/EmulationModel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/EmulationModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/EmulationModel.js |
index 51d51cb4d461702db64d093bd6e7fbd39bab237a..353d9284ea053fa14bdb87bbefe2aa6d49c3d13a 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/EmulationModel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/EmulationModel.js |
@@ -5,12 +5,13 @@ |
SDK.EmulationModel = class extends SDK.SDKModel { |
/** |
* @param {!SDK.Target} target |
+ * @param {!Protocol.Dispatcher} dispatcher |
*/ |
- constructor(target) { |
- super(target); |
- this._emulationAgent = target.emulationAgent(); |
- this._pageAgent = target.pageAgent(); |
- this._deviceOrientationAgent = target.deviceOrientationAgent(); |
+ constructor(target, dispatcher) { |
+ super(target, dispatcher); |
+ this._emulationAgent = dispatcher.emulationAgent(); |
+ this._pageAgent = dispatcher.pageAgent(); |
+ this._deviceOrientationAgent = dispatcher.deviceOrientationAgent(); |
this._cssModel = target.model(SDK.CSSModel); |
this._overlayModel = target.model(SDK.OverlayModel); |
if (this._overlayModel) |