summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_caret.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-05 14:11:23 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-05 18:53:00 +0000
commit1b4670cab5be6a5938621a25f050da7351c507b2 (patch)
tree8f7d2160982c9cd8660dfbf233f28624997e1edd /fpdfsdk/pdfwindow/cpwl_caret.cpp
parent63fbd8d8ece5f49f7f9b8cac29b9aba73d5d7d23 (diff)
downloadpdfium-1b4670cab5be6a5938621a25f050da7351c507b2.tar.xz
Remove PNM_SETCARETINFO and call SetCaret directly
The PNM_SETCARETINFO message is only sent inside CPWL_EditCtrl and is only handled in that class. This CL removes the message from OnNotify and calls SetCaret directly. Change-Id: I7d48f4b9fcd9fe8e828163c957e7d46f369edb06 Reviewed-on: https://pdfium-review.googlesource.com/7254 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_caret.cpp')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_caret.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_caret.cpp b/fpdfsdk/pdfwindow/cpwl_caret.cpp
index a6a165f9a0..0d63622852 100644
--- a/fpdfsdk/pdfwindow/cpwl_caret.cpp
+++ b/fpdfsdk/pdfwindow/cpwl_caret.cpp
@@ -16,8 +16,6 @@
#define PWL_CARET_FLASHINTERVAL 500
-PWL_CARET_INFO::PWL_CARET_INFO() : bVisible(false) {}
-
CPWL_Caret::CPWL_Caret() : m_bFlash(false), m_fWidth(0.4f), m_nDelay(0) {}
CPWL_Caret::~CPWL_Caret() {}