Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js |
index 04e9011877590f1c69e7b574a105f04b159dad13..828ea985d7641168603450f0773062252ea10ea2 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js |
@@ -363,9 +363,9 @@ Emulation.DeviceModeView = class extends UI.VBox { |
* @return {!Promise} |
*/ |
async captureScreenshot() { |
- SDK.DOMModel.muteHighlight(); |
+ SDK.OverlayModel.muteHighlight(); |
var screenshot = await this._model.captureScreenshot(false); |
- SDK.DOMModel.unmuteHighlight(); |
+ SDK.OverlayModel.unmuteHighlight(); |
if (screenshot === null) |
return; |
@@ -398,9 +398,9 @@ Emulation.DeviceModeView = class extends UI.VBox { |
* @return {!Promise} |
*/ |
async captureFullSizeScreenshot() { |
- SDK.DOMModel.muteHighlight(); |
+ SDK.OverlayModel.muteHighlight(); |
var screenshot = await this._model.captureScreenshot(true); |
- SDK.DOMModel.unmuteHighlight(); |
+ SDK.OverlayModel.unmuteHighlight(); |
if (screenshot === null) |
return; |