commit | 143099e30f56d3d41c6e1fb49230586472751aac | [log] [tgz] |
---|---|---|
author | jzfeng <jzfeng@chromium.org> | Mon Apr 10 20:18:09 2017 |
committer | Commit bot <commit-bot@chromium.org> | Mon Apr 10 20:18:09 2017 |
tree | 507de97ac86940acf1b3226faa0a44d27c22efbf | |
parent | 244727d064719e08f022323fecba95ccac5e69c6 [diff] |
make 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}