diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-09 10:12:39 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-09 17:43:04 +0000 |
commit | e02b2bc896b0872ce1a9d0997946b07dc76b9f7b (patch) | |
tree | 9b4fb6e9e64fc4bdc208042943e5e59f7a148eb4 /xfa/fgas/layout/cfx_breakpiece.cpp | |
parent | efd4f944deaf4687911d39dbceb4c92f728e68a0 (diff) | |
download | pdfium-e02b2bc896b0872ce1a9d0997946b07dc76b9f7b.tar.xz |
Use CXFA_TextUserData in place of CFX_Retainable where possible.
Layering prevents the (newly-moved) CFX_Char from knowing about
this class, so some casting is still required.
Change-Id: I5b7556fdfa80d09e5116b171b01ab5e707763bf0
Reviewed-on: https://pdfium-review.googlesource.com/5172
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/cfx_breakpiece.cpp')
-rw-r--r-- | xfa/fgas/layout/cfx_breakpiece.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fgas/layout/cfx_breakpiece.cpp b/xfa/fgas/layout/cfx_breakpiece.cpp index 8cb676b58f..605b900a6e 100644 --- a/xfa/fgas/layout/cfx_breakpiece.cpp +++ b/xfa/fgas/layout/cfx_breakpiece.cpp @@ -19,8 +19,7 @@ CFX_BreakPiece::CFX_BreakPiece() m_iVerticalScale(100), m_dwIdentity(0), m_dwCharStyles(0), - m_pChars(nullptr), - m_pUserData(nullptr) {} + m_pChars(nullptr) {} CFX_BreakPiece::CFX_BreakPiece(const CFX_BreakPiece& other) = default; |