Chromium Code Reviews| 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) { |