diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-18 18:49:46 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-18 18:49:46 +0000 |
commit | d66f39a421233931d4da0832c72aae965ad909ee (patch) | |
tree | 1192fc157d424fd98ac527b19afcaf05987f4d70 /xfa/fxfa/cxfa_loadercontext.h | |
parent | b8fd43f9ca1ec790ef16590dbd909b81c3e09580 (diff) | |
download | pdfium-d66f39a421233931d4da0832c72aae965ad909ee.tar.xz |
Change CXFA_LoaderContext::dwFlags to bFilterSpace.
Only 1 bit in the flag is ever used, so simplify it.
Change-Id: I75fb7d89c18cbb2538a1c8702bb85b4f3c10d420
Reviewed-on: https://pdfium-review.googlesource.com/c/44256
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_loadercontext.h')
-rw-r--r-- | xfa/fxfa/cxfa_loadercontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_loadercontext.h b/xfa/fxfa/cxfa_loadercontext.h index 87a795be9c..91ffee64f9 100644 --- a/xfa/fxfa/cxfa_loadercontext.h +++ b/xfa/fxfa/cxfa_loadercontext.h @@ -22,13 +22,13 @@ struct CXFA_LoaderContext { ~CXFA_LoaderContext(); bool bSaveLineHeight = false; + bool bFilterSpace = false; float fWidth = 0; float fHeight = 0; float fLastPos = 0; float fStartLineOffset = 0; int32_t iChar = 0; int32_t iTotalLines = -1; - uint32_t dwFlags = 0; UnownedPtr<const CFX_XMLNode> pXMLNode; UnownedPtr<CXFA_Node> pNode; RetainPtr<CFX_CSSComputedStyle> pParentStyle; |