summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfsdk_fieldaction.cpp
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-09-08 13:34:18 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-08 13:34:19 -0700
commit3451c0900cbbc06d82a07bca3670ac87ec36f52e (patch)
tree4ab7a98b7919f8a82ca6e1b09a0e4d9cc4703da8 /fpdfsdk/pdfsdk_fieldaction.cpp
parentc29fc707b24b9528e41a242cfa298275708ffc76 (diff)
downloadpdfium-3451c0900cbbc06d82a07bca3670ac87ec36f52e.tar.xz
Check whether the annotation content is empty using CFX_WideString.
CFX_ByteString cannot properly check whether the contents string is empty because the first two bytes of text strings encoded in Unicode are always ASCII 254 followed by 255. So if we get contents in CFX_ByteString, the length will always be 2. Also, roll DEPS for testing/corpus to 608bf04. Review-Url: https://codereview.chromium.org/2293403003
Diffstat (limited to 'fpdfsdk/pdfsdk_fieldaction.cpp')
0 files changed, 0 insertions, 0 deletions