summaryrefslogtreecommitdiff
path: root/xfa/fwl
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-18 14:16:03 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-18 14:16:03 -0700
commit87144d3fc81769578fbfae89f7b99bab89229a57 (patch)
tree5b1a9b8d4b721a5dfbd91593a141d3c4e4256953 /xfa/fwl
parent0aae2a773cf51632b7808ab0e5b5c1635cf6a5fa (diff)
downloadpdfium-87144d3fc81769578fbfae89f7b99bab89229a57.tar.xz
Remove Release() from CFDE_TxtEdit* classes
Review-Url: https://codereview.chromium.org/1987223003
Diffstat (limited to 'xfa/fwl')
-rw-r--r--xfa/fwl/basewidget/fwl_editimp.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp
index 4e753b1f9f..b734ec6e77 100644
--- a/xfa/fwl/basewidget/fwl_editimp.cpp
+++ b/xfa/fwl/basewidget/fwl_editimp.cpp
@@ -222,10 +222,7 @@ CFWL_EditImp::CFWL_EditImp(const CFWL_WidgetImpProperties& properties,
}
CFWL_EditImp::~CFWL_EditImp() {
- if (m_pEdtEngine) {
- m_pEdtEngine->Release();
- m_pEdtEngine = NULL;
- }
+ delete m_pEdtEngine;
ClearRecord();
}