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 828ea985d7641168603450f0773062252ea10ea2..04e9011877590f1c69e7b574a105f04b159dad13 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 @@ |
* @return {!Promise} |
*/ |
async captureScreenshot() { |
- SDK.OverlayModel.muteHighlight(); |
+ SDK.DOMModel.muteHighlight(); |
var screenshot = await this._model.captureScreenshot(false); |
- SDK.OverlayModel.unmuteHighlight(); |
+ SDK.DOMModel.unmuteHighlight(); |
if (screenshot === null) |
return; |
@@ -398,9 +398,9 @@ |
* @return {!Promise} |
*/ |
async captureFullSizeScreenshot() { |
- SDK.OverlayModel.muteHighlight(); |
+ SDK.DOMModel.muteHighlight(); |
var screenshot = await this._model.captureScreenshot(true); |
- SDK.OverlayModel.unmuteHighlight(); |
+ SDK.DOMModel.unmuteHighlight(); |
if (screenshot === null) |
return; |