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

Unified Diff: content/browser/devtools/protocol/page_handler.cc

Issue 2871113002: Change from_surface default value to true (Closed)
Patch Set: revert to defaulting to true Created 3 years, 7 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
« no previous file with comments | « no previous file | headless/app/headless_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/protocol/page_handler.cc
diff --git a/content/browser/devtools/protocol/page_handler.cc b/content/browser/devtools/protocol/page_handler.cc
index 3e7f34559424b74408de893a9a1e2dccf6d80750..3b4ac83a030a049e4586717b962308bb10cdf388 100644
--- a/content/browser/devtools/protocol/page_handler.cc
+++ b/content/browser/devtools/protocol/page_handler.cc
@@ -296,7 +296,7 @@ void PageHandler::CaptureScreenshot(
base::Bind(&PageHandler::ScreenshotCaptured, weak_factory_.GetWeakPtr(),
base::Passed(std::move(callback)), screenshot_format,
screenshot_quality),
- from_surface.fromMaybe(false));
+ from_surface.fromMaybe(true));
}
void PageHandler::PrintToPDF(Maybe<bool> landscape,
« no previous file with comments | « no previous file | headless/app/headless_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698