Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2256)

Unified Diff: core/fpdfdoc/include/cpdf_annot.h

Issue 2265313002: Lazy generate an "AP" when an Annot's hidden state changes (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Some minor clean ups. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfdoc/cpdf_annot.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/include/cpdf_annot.h
diff --git a/core/fpdfdoc/include/cpdf_annot.h b/core/fpdfdoc/include/cpdf_annot.h
index 499934915568437dcd62524f387d79929d98ac59..4029bba4cc92d83acc23ce8eb2b95c7cfcadf350 100644
--- a/core/fpdfdoc/include/cpdf_annot.h
+++ b/core/fpdfdoc/include/cpdf_annot.h
@@ -63,6 +63,8 @@ class CPDF_Annot {
CPDF_Form* GetAPForm(const CPDF_Page* pPage, AppearanceMode mode);
private:
+ void GenerateAPIfNeeded();
+
CPDF_Dictionary* const m_pAnnotDict;
CPDF_Document* const m_pDocument;
const CFX_ByteString m_sSubtype;
« no previous file with comments | « core/fpdfdoc/cpdf_annot.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698