summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_edit.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-12 07:04:19 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-15 16:02:50 +0000
commit5688d624690e1fdc3cbbbbf23a5b475f40818728 (patch)
tree529079e7e8677d7ca305d4cf0dc0dd9b1bf96f3d /fpdfsdk/pwl/cpwl_edit.cpp
parent28549c91b9fb7bdc637466218348b0759e251456 (diff)
downloadpdfium-5688d624690e1fdc3cbbbbf23a5b475f40818728.tar.xz
Remove CPWL_EditImpl::EnableOprNotify().
It's redundant with SetOprNotify(). Change-Id: Iee2741744017ea6bd1b9839fc6395197c560f1e7 Reviewed-on: https://pdfium-review.googlesource.com/10850 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_edit.cpp')
-rw-r--r--fpdfsdk/pwl/cpwl_edit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/pwl/cpwl_edit.cpp b/fpdfsdk/pwl/cpwl_edit.cpp
index 4a19e70eb6..2f3f20b4dd 100644
--- a/fpdfsdk/pwl/cpwl_edit.cpp
+++ b/fpdfsdk/pwl/cpwl_edit.cpp
@@ -151,8 +151,7 @@ void CPWL_Edit::OnCreated() {
m_rcOldWindow = GetWindowRect();
- m_pEdit->SetOprNotify(this);
- m_pEdit->EnableOprNotify(true);
+ m_pEdit->SetOperationNotify(this);
}
void CPWL_Edit::SetParamByFlag() {