Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: testing/resources/bug_664284.in

Issue 2495003006: Fix unique ptrs in fpdfppo.cpp (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/fpdfsave_embeddertest.cpp ('k') | testing/resources/bug_664284.pdf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/bug_664284.in
diff --git a/testing/resources/bug_664284.in b/testing/resources/bug_664284.in
new file mode 100644
index 0000000000000000000000000000000000000000..50ba8e050a270651573da9c80ea34fcf4b3e05ce
--- /dev/null
+++ b/testing/resources/bug_664284.in
@@ -0,0 +1,75 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+ /ViewerPreferences <<
+ /Foo /foo
+ /HideToolbar true
+ /Direction /R2L
+ /ViewArea /CropBox
+ /NumCopies 5
+ >>
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages
+ /Count 1
+ /Kids [
+ 3 0 R
+ ]
+>>
+endobj
+% Page number 0.
+{{object 3 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <</F1 15 0 R>>
+ >>
+ /Contents [21 0 R]
+ /MediaBox [0 0 612 792]
+ /Annots [999 0 R]
+>>
+endobj
+% Font resource.
+{{object 15 0}} <<
+ /Type /Font
+ /Subtype /Type1
+ /BaseFont /Arial
+>>
+endobj
+% Content for page 0.
+{{object 21 0}} <<
+ /Length 0
+>>
+stream
+BT
+/F1 20 Tf
+100 600 TD (Page1)Tj
+ET
+endstream
+endobj
+% Annots array
+{{object 999 0}} [
+ 29 0 R
+]
+endobj
+{{object 29 0}} <<
+ /Dest 37 0 R
+ /Type /Annot
+>>
+endobj
+{{object 37 0}} [
+ 11 0 R
+]
+endobj
+{{object 11 0}} <<
+ /Type /Page
+>>
+{{xref}}
+trailer <<
+ /Size 6
+ /Root 1 0 R
+>>
+{{startxref}}
+%%EOF
« no previous file with comments | « fpdfsdk/fpdfsave_embeddertest.cpp ('k') | testing/resources/bug_664284.pdf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698