summaryrefslogtreecommitdiff
path: root/testing/resources
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-02-13 21:50:53 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-13 21:50:53 +0000
commit56f7117d3fd5799d7c1d13a9c3723e67f508d553 (patch)
treeb6f12455c3102402746c27d4d9c6d8dfa880963a /testing/resources
parent6515cf256ca6dc30b43b34eaf88908aaf4784fd3 (diff)
downloadpdfium-56f7117d3fd5799d7c1d13a9c3723e67f508d553.tar.xz
Teach fixup_pdf_template.py to automatically calculate stream length.
BUG=pdfium:1008 Change-Id: I5136d57bd401d44b56ac19e5cfb52702afa32200 Reviewed-on: https://pdfium-review.googlesource.com/26651 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing/resources')
-rw-r--r--testing/resources/bug_921.in2
-rw-r--r--testing/resources/combobox_form.in2
-rw-r--r--testing/resources/text_form.in2
-rw-r--r--testing/resources/text_form_multiple.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/testing/resources/bug_921.in b/testing/resources/bug_921.in
index 9c48b2004e..a0c2e73cc8 100644
--- a/testing/resources/bug_921.in
+++ b/testing/resources/bug_921.in
@@ -43,7 +43,7 @@ endobj
>>
endobj
{{object 6 0}} <<
-/Length 2784
+{{streamlen}}
>>
stream
BT
diff --git a/testing/resources/combobox_form.in b/testing/resources/combobox_form.in
index 6c9f914023..77085f2861 100644
--- a/testing/resources/combobox_form.in
+++ b/testing/resources/combobox_form.in
@@ -33,7 +33,7 @@ endobj
>>
endobj
{{object 7 0}}
-<< /Length 51 >>
+<< {{streamlen}} >>
stream
BT
0 0 0 rg
diff --git a/testing/resources/text_form.in b/testing/resources/text_form.in
index c30f0bac4e..12ea13a3e2 100644
--- a/testing/resources/text_form.in
+++ b/testing/resources/text_form.in
@@ -42,7 +42,7 @@ endobj
>>
endobj
{{object 8 0}}
-<< /Length 51 >>
+<< {{streamlen}} >>
stream
BT
0 0 0 rg
diff --git a/testing/resources/text_form_multiple.in b/testing/resources/text_form_multiple.in
index 576e15597c..066ab202df 100644
--- a/testing/resources/text_form_multiple.in
+++ b/testing/resources/text_form_multiple.in
@@ -42,7 +42,7 @@ endobj
>>
endobj
{{object 8 0}}
-<< /Length 51 >>
+<< {{streamlen}} >>
stream
BT
0 0 0 rg