Try to handle different chromium versions
Change-Id: I3520fcb7f0e6891e70a1c819a2c54a5ce2bb16e2
diff --git a/ci/html2pdf b/ci/html2pdf
index 971ccd3..04dbac7 100755
--- a/ci/html2pdf
+++ b/ci/html2pdf
@@ -1,8 +1,6 @@
#!/bin/sh -eu
in=$1 out=$2 page0=${3:-} page1=${4:-$page0}
-${CHROME:-chromium-browser} --no-sandbox --headless --disable-gpu \
- --run-all-compositor-stages-before-draw \
- --no-pdf-header-footer --print-to-pdf="$out" "$in"
+chromium-browser --headless --disable-gpu --no-sandbox --run-all-compositor-stages-before-draw --no-pdf-header-footer --print-to-pdf-no-header --print-to-pdf="$out" "$in"
GS_ARGS=
if [ -n "$page0" ]; then
GS_ARGS="-dFirstPage=$page0 -dLastPage=$page1"