Use GetPrimaryUserProfile() when creating a CupsPrintJob
This ensures a profile is obtained even when outside a user window, which resolves an issue that occurred when printing from ARC apps using the ArcPrintService. Bug: 1010228 Test: Print from an ARC app using an ArcPrintService printer Change-Id: I4fa5759519aef11773045ff79612342583cf66e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1836984 Commit-Queue: Jesse Schettler <jschettler@chromium.org> Reviewed-by:Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#702461}
Showing
Please register or sign in to comment