diff options
author | tonikitoo <tonikitoo@igalia.com> | 2016-08-02 11:52:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-02 11:52:28 -0700 |
commit | ea3ff9eaaa508b9cbc7f52bc92d189eacbc7a935 (patch) | |
tree | 286510e2a2aae68e7c1495d7cbed0b6880a805ba /samples | |
parent | 6faf9f9508b858e27fde9a7f75ff6962048326ca (diff) | |
download | pdfium-ea3ff9eaaa508b9cbc7f52bc92d189eacbc7a935.tar.xz |
Introduce ::getPropertyInternal method to avoid duplicationchromium/2819chromium/2818chromium/2817
Document.cpp implements "getter" methods for some of the
Document object properties.
Some of the body of such methods are identical.
Patch introduces a ::getPropertyInternal private method
that gets rid of this duplication.
Namely the following properties' getters are cleaned up:
- "author", "creationDate", "creator", "keywords",
- "modDate", "producer", "subject" and "title"
No behavior change.
Review-Url: https://codereview.chromium.org/2202283002
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions