diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-18 17:37:42 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-18 17:37:42 +0000 |
commit | 2486456feae06bd0dd2254f1569cf2cfb8d04104 (patch) | |
tree | 7235e10f956c1e4bc54e733c9730108a8d05c5c9 /xfa/fxfa/cxfa_loadercontext.cpp | |
parent | 631a9e726578659ade3c37c4c274a1c5a1ee9a7b (diff) | |
download | pdfium-2486456feae06bd0dd2254f1569cf2cfb8d04104.tar.xz |
Convert CXFA_LoaderContext to a struct.
It only has members and they are all public. Initialize them in the
header, remove an unused one, and remove the "m_" prefix.
Change-Id: Ia4a0b673794f82afddfc6c1bd3a73700cb968259
Reviewed-on: https://pdfium-review.googlesource.com/c/44255
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_loadercontext.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_loadercontext.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/xfa/fxfa/cxfa_loadercontext.cpp b/xfa/fxfa/cxfa_loadercontext.cpp index 05ba9f19d1..5f6605019e 100644 --- a/xfa/fxfa/cxfa_loadercontext.cpp +++ b/xfa/fxfa/cxfa_loadercontext.cpp @@ -6,16 +6,8 @@ #include "xfa/fxfa/cxfa_loadercontext.h" -CXFA_LoaderContext::CXFA_LoaderContext() - : m_bSaveLineHeight(false), - m_fWidth(0), - m_fHeight(0), - m_fLastPos(0), - m_fStartLineOffset(0), - m_iChar(0), - m_iTotalLines(-1), - m_dwFlags(0), - m_pXMLNode(nullptr), - m_pNode(nullptr) {} +#include "core/fxcrt/css/cfx_csscomputedstyle.h" -CXFA_LoaderContext::~CXFA_LoaderContext() {} +CXFA_LoaderContext::CXFA_LoaderContext() = default; + +CXFA_LoaderContext::~CXFA_LoaderContext() = default; |