diff options
author | Lei Zhang <thestig@chromium.org> | 2017-08-12 07:04:19 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-15 16:02:50 +0000 |
commit | 5688d624690e1fdc3cbbbbf23a5b475f40818728 (patch) | |
tree | 529079e7e8677d7ca305d4cf0dc0dd9b1bf96f3d /fpdfsdk/pwl/cpwl_edit.cpp | |
parent | 28549c91b9fb7bdc637466218348b0759e251456 (diff) | |
download | pdfium-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.cpp | 3 |
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() { |