summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
diff options
context:
space:
mode:
authorDiana Gage <drgage@google.com>2017-07-20 18:09:31 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-07-21 05:40:11 +0000
commit89e6562f31f2807fb6f077c569a086858dd2ccb7 (patch)
treee72170808aff4dc5014ca6b90b4cbe43290d0d29 /fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
parent4d02e904b01502cea5b76f316e07b0f6db5c5dbc (diff)
downloadpdfium-89e6562f31f2807fb6f077c569a086858dd2ccb7.tar.xz
Change CFX_Edit::GetSelText() to CFX_Edit::GetSelectedText().
This CL renames the CFX_Edit::GetSelText() method so that it is more descriptive. Change-Id: I2086f7d036cd874aba1b7d7ec04d1cbb7e182d06 Reviewed-on: https://pdfium-review.googlesource.com/8612 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
index 357b552330..726218989a 100644
--- a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
+++ b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
@@ -54,7 +54,7 @@ void CPWL_EditCtrl::SetCursor() {
CFX_WideString CPWL_EditCtrl::GetSelectedText() {
if (m_pEdit)
- return m_pEdit->GetSelText();
+ return m_pEdit->GetSelectedText();
return CFX_WideString();
}