Skip to content

Commit b9e4c4f

Browse files
committed
OffScreen - ScreenshotAsync now correctly passes through blend to ScreenshotOrNull
1 parent 4e33866 commit b9e4c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CefSharp.OffScreen/ChromiumWebBrowser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ public Task<Bitmap> ScreenshotAsync(bool ignoreExistingScreenshot = false, Popup
491491
// Chromium has rendered. Tell the task about it.
492492
Paint -= paint;
493493

494-
completionSource.TrySetResultAsync(ScreenshotOrNull());
494+
completionSource.TrySetResultAsync(ScreenshotOrNull(blend));
495495
};
496496

497497
Paint += paint;

0 commit comments

Comments
 (0)