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

Unified Diff: core/src/fpdfdoc/doc_form.cpp

Issue 1471323004: Inflict PPDF_ENABLE_XFA ifdefs on XFA core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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
Index: core/src/fpdfdoc/doc_form.cpp
diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp
index 241609efbca8cb85b9968fe45ac18e0c55b54fe9..ffd6bf7955f728d27eac19fa5da01ef35804ea58 100644
--- a/core/src/fpdfdoc/doc_form.cpp
+++ b/core/src/fpdfdoc/doc_form.cpp
@@ -371,6 +371,7 @@ static FX_BOOL RetrieveSpecificFont(uint8_t charSet,
}
return RetrieveSpecificFont(lf);
}
+#ifdef PDF_ENABLE_XFA
static FX_BOOL RetrieveStockFont(int iFontObject,
uint8_t charSet,
LOGFONTA& lf) {
@@ -385,6 +386,7 @@ static FX_BOOL RetrieveStockFont(int iFontObject,
return FALSE;
}
#endif
+#endif
Lei Zhang 2015/11/24 23:38:10 These 2 needs to be labeled.
Tom Sepez 2015/11/25 18:51:45 I will label all in next CL.
Tom Sepez 2015/11/25 21:01:39 Am I blind? I see no matching ifdef!
Lei Zhang 2015/11/25 21:20:21 #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ on li
CPDF_Font* CPDF_InterForm::AddStandardFont(CPDF_Document* pDocument,
CFX_ByteString csFontName) {

Powered by Google App Engine
This is Rietveld 408576698