From 256243417ba59b507313f641a6a0cb0299cfd356 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 2 Feb 2016 15:49:12 -0800 Subject: Fix windows build at 77244553b268 (FX_BOOL vs. bool) TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1667433002 . --- core/include/fpdfdoc/fpdf_doc.h | 4 ++-- core/src/fpdfdoc/doc_formfield.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h index f0088a6cb3..fee6c49310 100644 --- a/core/include/fpdfdoc/fpdf_doc.h +++ b/core/include/fpdfdoc/fpdf_doc.h @@ -797,8 +797,8 @@ class CPDF_FormField { int FindOptionValue(const CFX_WideString& csOptValue, int iStartIndex = 0); FX_BOOL CheckControl(int iControlIndex, - FX_BOOL bChecked, - FX_BOOL bNotify = FALSE); + bool bChecked, + bool bNotify = false); int GetTopVisibleIndex(); diff --git a/core/src/fpdfdoc/doc_formfield.cpp b/core/src/fpdfdoc/doc_formfield.cpp index 3c161cf1e2..c9da1323a9 100644 --- a/core/src/fpdfdoc/doc_formfield.cpp +++ b/core/src/fpdfdoc/doc_formfield.cpp @@ -726,8 +726,8 @@ int CPDF_FormField::FindOptionValue(const CFX_WideString& csOptValue, return -1; } FX_BOOL CPDF_FormField::CheckControl(int iControlIndex, - FX_BOOL bChecked, - FX_BOOL bNotify) { + bool bChecked, + bool bNotify) { ASSERT(GetType() == CheckBox || GetType() == RadioButton); CPDF_FormControl* pControl = GetControl(iControlIndex); if (!pControl) { -- cgit v1.2.3