Descriptionmake headless lib complie when enable_basic_printing is set to false
There is a bug that headless lib doesn't complie when users set
enable_basic_printing to false in their args.gn file.
The patch ensure that the printing support is only avaliable when
enable_basic_printing is true.
When it is false, the PrintToPDF devtools command would return an error instead.
BUG=603559
Review-Url: https://codereview.chromium.org/2808653002
Cr-Commit-Position: refs/heads/master@{#463381}
Committed: https://chromium.googlesource.com/chromium/src/+/143099e30f56d3d41c6e1fb49230586472751aac
Patch Set 1 #Patch Set 2 : add a DCHECK #
Total comments: 4
Patch Set 3 : minor fix #
Messages
Total messages: 17 (11 generated)
|