summaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/fgas_rtfbreak.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-23 10:55:48 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-23 10:55:48 -0700
commit7ee2e53f741cc17f35a4fece5980e60fded93861 (patch)
treee163e805f4fc439ab2f0d19d7e26258c79d7baed /xfa/fgas/layout/fgas_rtfbreak.h
parent524fa626d71efeb2164c82d565f17f077035b7df (diff)
downloadpdfium-7ee2e53f741cc17f35a4fece5980e60fded93861.tar.xz
Remove Release() from CFX_RTFBreak
Use unique_ptrs in several places in xfa_textlayout.h Review-Url: https://codereview.chromium.org/2003843002
Diffstat (limited to 'xfa/fgas/layout/fgas_rtfbreak.h')
-rw-r--r--xfa/fgas/layout/fgas_rtfbreak.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fgas/layout/fgas_rtfbreak.h b/xfa/fgas/layout/fgas_rtfbreak.h
index 966950f26c..be3717f584 100644
--- a/xfa/fgas/layout/fgas_rtfbreak.h
+++ b/xfa/fgas/layout/fgas_rtfbreak.h
@@ -246,7 +246,7 @@ class CFX_RTFBreak {
public:
CFX_RTFBreak(uint32_t dwPolicies);
~CFX_RTFBreak();
- void Release() { delete this; }
+
void SetLineBoundary(FX_FLOAT fLineStart, FX_FLOAT fLineEnd);
void SetLineStartPos(FX_FLOAT fLinePos);
uint32_t GetLayoutStyles() const { return m_dwLayoutStyles; }