diff options
author | tsepez <tsepez@chromium.org> | 2016-05-19 09:30:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-19 09:30:58 -0700 |
commit | 23467939aff1273c9b8e084fa83b2a2436d67526 (patch) | |
tree | 5dcf458bb4cc184ba1af1615a4bad02f68f38bdd /xfa/fxfa/include/fxfa_widget.h | |
parent | 749c14c24f7e8a838efc077a45ca7fe41db3e2ee (diff) | |
download | pdfium-23467939aff1273c9b8e084fa83b2a2436d67526.tar.xz |
Remove Release() from CXFA_WidgetLayoutData
Use unique_ptrs.
Review-Url: https://codereview.chromium.org/1990033002
Diffstat (limited to 'xfa/fxfa/include/fxfa_widget.h')
-rw-r--r-- | xfa/fxfa/include/fxfa_widget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/include/fxfa_widget.h b/xfa/fxfa/include/fxfa_widget.h index 3745a38ec0..53409433dc 100644 --- a/xfa/fxfa/include/fxfa_widget.h +++ b/xfa/fxfa/include/fxfa_widget.h @@ -114,8 +114,9 @@ class CXFA_WidgetAcc : public CXFA_WidgetData { FX_FLOAT& fCalcHeight); void InitLayoutData(); void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); + CXFA_FFDocView* m_pDocView; - CXFA_WidgetLayoutData* m_pLayoutData; + std::unique_ptr<CXFA_WidgetLayoutData> m_pLayoutData; uint32_t m_nRecursionDepth; }; |