PDF: Interpret printing permission bits correctly.
commitb9357a7d2361b9f03e5a0a4ee784016adcea5303
authorthestig <thestig@chromium.org>
Thu, 11 Jun 2015 00:53:01 +0000 (10 17:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Jun 2015 00:53:36 +0000 (11 00:53 +0000)
treee30f14d7316ecbcc989ac10ffbf9e4605c358a31
parent2efc98723d56913bc45714ef4ad4e5948a870797
PDF: Interpret printing permission bits correctly.

The rules for interpreting printing permission bits are different
depending on the security handler revision. This takes the handler
revision into account.

BUG=497924

Review URL: https://codereview.chromium.org/1167393002

Cr-Commit-Position: refs/heads/master@{#333864}
pdf/pdfium/pdfium_engine.cc
pdf/pdfium/pdfium_engine.h