diff options
author | thestig <thestig@chromium.org> | 2015-01-15 11:51:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-15 19:52:13 +0000 |
commit | 026f6359bf17043fc7404354a1777bb368534610 (patch) | |
tree | 4a06255ce7349ae0d59095f76fbdfdc5f53b7321 /pdf/BUILD.gn | |
parent | 5541ad49ec3ef00b7866898c6da66d31d33f48df (diff) | |
download | chromium_src-026f6359bf17043fc7404354a1777bb368534610.zip chromium_src-026f6359bf17043fc7404354a1777bb368534610.tar.gz chromium_src-026f6359bf17043fc7404354a1777bb368534610.tar.bz2 |
PDF: Yet another stab at getting WriteInto() buffer sizes correct.
- Fix remaining case with extra null-character.
- Do not assume strings are null-terminated, even though they most likely are.
- Fix accessibility code that checked for the extra null-character.
Review URL: https://codereview.chromium.org/848073003
Cr-Commit-Position: refs/heads/master@{#311715}
Diffstat (limited to 'pdf/BUILD.gn')
-rw-r--r-- | pdf/BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn index f733455..5810468 100644 --- a/pdf/BUILD.gn +++ b/pdf/BUILD.gn @@ -51,6 +51,8 @@ shared_library("pdf") { if (pdf_engine == 0) { sources += [ + "pdfium/pdfium_api_string_buffer_adapter.cc", + "pdfium/pdfium_api_string_buffer_adapter.h", "pdfium/pdfium_assert_matching_enums.cc", "pdfium/pdfium_engine.cc", "pdfium/pdfium_engine.h", |