summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_comboedit.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-16 16:38:27 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-17 16:13:14 +0000
commit0d2349b634bef51070f9ba4115ead47d240063bf (patch)
tree1d3f6240c445cd1ec59a49894bf03d297cad2914 /xfa/fwl/cfwl_comboedit.cpp
parent022b4397f98e7bb6d283918c836a4d1d386ac9cc (diff)
downloadpdfium-0d2349b634bef51070f9ba4115ead47d240063bf.tar.xz
Turn caret movement into an enum class
This CL changes caret movement into an enum class and removes the MoveNone flag. Change-Id: I8a01b057942d45ceae9a6c3b95cfe3b8dc9ce9a5 Reviewed-on: https://pdfium-review.googlesource.com/11274 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_comboedit.cpp')
-rw-r--r--xfa/fwl/cfwl_comboedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/cfwl_comboedit.cpp b/xfa/fwl/cfwl_comboedit.cpp
index e7a2c6eb8f..68cde76707 100644
--- a/xfa/fwl/cfwl_comboedit.cpp
+++ b/xfa/fwl/cfwl_comboedit.cpp
@@ -28,7 +28,7 @@ void CFWL_ComboEdit::ClearSelected() {
void CFWL_ComboEdit::SetSelected() {
FlagFocus(true);
- GetTxtEdtEngine()->MoveCaretPos(MC_End, false, false);
+ GetTxtEdtEngine()->MoveCaretPos(FDE_CaretMove::End, false);
AddSelRange(0);
}