Cache the CPDF_Annot's subtype, since it should never changes.
authorLei Zhang <thestig@chromium.org>
Wed, 10 Jun 2015 20:29:24 +0000 (13:29 -0700)
committerLei Zhang <thestig@chromium.org>
Wed, 10 Jun 2015 20:29:24 +0000 (13:29 -0700)
commit7b2897c47245f04c806cfa8cee09458e31ba3777
tree5865605071623e1d3be54015790a0584bbd4974d
parentb3aa96cbee31e81d0a72a61027467a2713654499
Cache the CPDF_Annot's subtype, since it should never changes.

BUG=495300
R=tsepez@chromium.org

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