Merge to XFA: Use signed long for FPDF_GetNamedDest buffer length.
authorBo Xu <bo_xu@foxitsoftware.com>
Wed, 21 Jan 2015 22:20:28 +0000 (14:20 -0800)
committerBo Xu <bo_xu@foxitsoftware.com>
Wed, 21 Jan 2015 22:24:36 +0000 (14:24 -0800)
commit70ad112e874cd076144cc1254db254ee651b5c81
treec459b44c000bd60cd16c66dd18f46f7ccdada1da
parenta6f95eb2eb735e593f201a3ff9daad77c765cce0
Merge to XFA: Use signed long for FPDF_GetNamedDest buffer length.

Need to have return value -1 indicating insufficient buffer.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/862163002
fpdfsdk/include/fpdfview.h
fpdfsdk/src/fpdfview.cpp