Merge to XFA: Cache the CPDF_Annot's subtype, since it should never changes.
authorLei Zhang <thestig@chromium.org>
Wed, 10 Jun 2015 21:51:39 +0000 (14:51 -0700)
committerLei Zhang <thestig@chromium.org>
Wed, 10 Jun 2015 21:51:39 +0000 (14:51 -0700)
commit71b0378c7ce0bf8bfa54eddb2c2734729bae27f1
treede3e43a726f2731abd0809cecec16e7fa29c8333
parentd7e5cc754a937605d1f73db5e7967c58ddd80742
Merge to XFA: Cache the CPDF_Annot's subtype, since it should never changes.

BUG=495300
R=tsepez@chromium.org

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

(cherry picked from commit 7b2897c47245f04c806cfa8cee09458e31ba3777)

Review URL: https://codereview.chromium.org/1177003002.
core/include/fpdfdoc/fpdf_doc.h
core/src/fpdfdoc/doc_annot.cpp