Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js

Issue 2732923002: Add fromSurface optional parameter to devtools Page.CaptureScreenshot (Closed)
Patch Set: Remove switches include Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b0ae7476359342bee0b16b25ad4f519a137ef785..53b0891b33107654684af7df2afa422863ddb372 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
@@ -379,7 +379,7 @@ Emulation.DeviceModeView = class extends UI.VBox {
this._model.deviceOutlineSetting().set(false);
}
- screenCaptureModel.captureScreenshot('png', 100).then(screenshotCaptured.bind(this));
+ screenCaptureModel.captureScreenshot('png', 100, false).then(screenshotCaptured.bind(this));
/**
* @param {?string} content

Powered by Google App Engine
This is Rietveld 408576698