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 e63753bd1cd7ba04073370b59a2e9f355ba3e3ac..d196701a38740d6631013eb197401af79e611da1 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js |
@@ -375,9 +375,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; |
@@ -410,9 +410,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; |