Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Unified Diff: xfa/fgas/layout/fgas_rtfbreak.h

Issue 2003843002: Remove Release() from CFX_RTFBreak (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Braces, virtual, and override. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | xfa/fxfa/app/xfa_textlayout.h » ('j') | xfa/fxfa/app/xfa_textlayout.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fgas/layout/fgas_rtfbreak.h
diff --git a/xfa/fgas/layout/fgas_rtfbreak.h b/xfa/fgas/layout/fgas_rtfbreak.h
index d595ad38d1008107e3a863250a440ed6e54f3a42..2519dcf51129176d91ffe32b122b3c08c3cc59c9 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; }
« no previous file with comments | « no previous file | xfa/fxfa/app/xfa_textlayout.h » ('j') | xfa/fxfa/app/xfa_textlayout.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698