summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedtbuf.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-02 15:43:18 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-02 15:43:19 -0700
commitd19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch)
tree239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fde/cfde_txtedtbuf.h
parent12f3e4a58f05850b93af35619cb04f0231d86acc (diff)
downloadpdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fde/cfde_txtedtbuf.h')
-rw-r--r--xfa/fde/cfde_txtedtbuf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fde/cfde_txtedtbuf.h b/xfa/fde/cfde_txtedtbuf.h
index e1bc9259e4..f85dcb352a 100644
--- a/xfa/fde/cfde_txtedtbuf.h
+++ b/xfa/fde/cfde_txtedtbuf.h
@@ -31,9 +31,9 @@ class CFDE_TxtEdtBuf {
void Insert(int32_t nPos, const FX_WCHAR* lpText, int32_t nLength = 1);
void Delete(int32_t nIndex, int32_t nLength = 1);
- void Clear(FX_BOOL bRelease = TRUE);
+ void Clear(bool bRelease = true);
- FX_BOOL Optimize(IFX_Pause* pPause = nullptr);
+ bool Optimize(IFX_Pause* pPause = nullptr);
private:
friend class CFDE_TxtEdtBufIter;
@@ -55,7 +55,7 @@ class CFDE_TxtEdtBuf {
int32_t m_nChunkSize;
int32_t m_nTotal;
- FX_BOOL m_bChanged;
+ bool m_bChanged;
CFX_ArrayTemplate<FDE_CHUNKHEADER*> m_Chunks;
std::unique_ptr<IFX_MemoryAllocator> m_pAllocator;
};