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

Unified Diff: xfa/fgas/localization/fgas_localeimp.h

Issue 2557173002: Remove CFX_FormatString::Release() (Closed)
Patch Set: Created 4 years 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/parser/xfa_localevalue.cpp » ('j') | xfa/fxfa/parser/xfa_localevalue.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fgas/localization/fgas_localeimp.h
diff --git a/xfa/fgas/localization/fgas_localeimp.h b/xfa/fgas/localization/fgas_localeimp.h
index 66f1767c5cf4af1da3de0c9ddafc09338979b2db..73891587982848f67299bcf40c69fbe9b294d0e8 100644
--- a/xfa/fgas/localization/fgas_localeimp.h
+++ b/xfa/fgas/localization/fgas_localeimp.h
@@ -14,8 +14,7 @@ class CFX_LCNumeric;
class CFX_FormatString {
public:
CFX_FormatString(IFX_LocaleMgr* pLocaleMgr, bool bUseLCID);
-
- void Release() { delete this; }
+ ~CFX_FormatString();
void SplitFormatString(const CFX_WideString& wsFormatString,
CFX_WideStringArray& wsPatterns);
@@ -62,8 +61,6 @@ class CFX_FormatString {
bool FormatNull(const CFX_WideString& wsPattern, CFX_WideString& wsOutput);
protected:
- ~CFX_FormatString();
-
IFX_Locale* GetTextFormat(const CFX_WideString& wsPattern,
const CFX_WideStringC& wsCategory,
CFX_WideString& wsPurgePattern);
« no previous file with comments | « no previous file | xfa/fxfa/parser/xfa_localevalue.cpp » ('j') | xfa/fxfa/parser/xfa_localevalue.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698