diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-01-15 18:14:43 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-01-15 18:14:43 -0800 |
commit | 624b166d4f50874f93c6d0824e91cd5b955c0487 (patch) | |
tree | 7b0384c8d70d8915b465f7144d87aeb45a996d9a /fpdfsdk/src/fpdfppo.cpp | |
parent | d0edcea1a1b22813f593022ca29fca79074757bf (diff) | |
download | pdfium-624b166d4f50874f93c6d0824e91cd5b955c0487.tar.xz |
Allow FPDFBookmark_GetFirstChild to return the top level bookmark
Previously when passing a NULL bookmark to FPDFBookmark_GetFirstChild it returned NULL instead of returning the top level bookmark. This change removes the early exit in this case allowing the top level bookmark to be retrieved.
BUG=https://code.google.com/p/pdfium/issues/detail?id=110
R=bo_xu@foxitsoftware.com, tsepez@chromium.org
Review URL: https://codereview.chromium.org/847243005
Diffstat (limited to 'fpdfsdk/src/fpdfppo.cpp')
0 files changed, 0 insertions, 0 deletions