| Index: headless/lib/headless_web_contents_browsertest.cc
|
| diff --git a/headless/lib/headless_web_contents_browsertest.cc b/headless/lib/headless_web_contents_browsertest.cc
|
| index 9d92f2a2642921309d23180c667fe5d407be2109..8059c39c50356f5be642315a81038c185b26b91a 100644
|
| --- a/headless/lib/headless_web_contents_browsertest.cc
|
| +++ b/headless/lib/headless_web_contents_browsertest.cc
|
| @@ -161,7 +161,7 @@ class HeadlessWebContentsScreenshotTest
|
|
|
| void OnPageSetupCompleted(std::unique_ptr<runtime::EvaluateResult> result) {
|
| devtools_client_->GetPage()->GetExperimental()->CaptureScreenshot(
|
| - page::CaptureScreenshotParams::Builder().SetFromSurface(true).Build(),
|
| + page::CaptureScreenshotParams::Builder().Build(),
|
| base::Bind(&HeadlessWebContentsScreenshotTest::OnScreenshotCaptured,
|
| base::Unretained(this)));
|
| }
|
|
|