diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-09-12 11:38:59 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-12 18:40:38 +0000 |
commit | 8ac74971a33520afb73a8ca6628da1a0a78c85a8 (patch) | |
tree | 279cf8e84ab73022621b5d7fc08c2144ab52a4cb /fpdfsdk/fpdf_structtree_embeddertest.cpp | |
parent | 4588792ebfcfdd628b76f005fa0e1d7935739139 (diff) | |
download | pdfium-8ac74971a33520afb73a8ca6628da1a0a78c85a8.tar.xz |
Remove ASSERT that was added to understand what was occuring
thestig provided a test PDF that reproduced the issue that is being
tested for in the ASSERT. I have spent some time going throught the
related code, and the condition in the assert is actually standard
behaviour, so shouldn't be asserted. The following code gracefully
handles the case of more text then requested being returned.
BUG=chromium:763369
Change-Id: I5bc121977169deead52fc5dd2503376b1b62d83f
Reviewed-on: https://pdfium-review.googlesource.com/13750
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_structtree_embeddertest.cpp')
0 files changed, 0 insertions, 0 deletions