summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_caret.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-23 07:36:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-23 07:36:00 -0800
commite36430e530e48d4145f34a554f9891b1989b590d (patch)
treeb8c9bb0b3ab44b9aabb6b3bb3f19dffd7093acb1 /xfa/fwl/core/ifwl_caret.cpp
parent43f382c23c24a7b8214f4ea461623f13e25ca02a (diff)
downloadpdfium-e36430e530e48d4145f34a554f9891b1989b590d.tar.xz
Make Update and DrawWidget pure virtual
These methods should be in all implementations, make them pure virtual to make that required. Review-Url: https://codereview.chromium.org/2525703004
Diffstat (limited to 'xfa/fwl/core/ifwl_caret.cpp')
-rw-r--r--xfa/fwl/core/ifwl_caret.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fwl/core/ifwl_caret.cpp b/xfa/fwl/core/ifwl_caret.cpp
index 6d21ca2f77..1c228242bd 100644
--- a/xfa/fwl/core/ifwl_caret.cpp
+++ b/xfa/fwl/core/ifwl_caret.cpp
@@ -41,6 +41,8 @@ FWL_Type IFWL_Caret::GetClassID() const {
return FWL_Type::Caret;
}
+void IFWL_Caret::Update() {}
+
void IFWL_Caret::DrawWidget(CFX_Graphics* pGraphics,
const CFX_Matrix* pMatrix) {
if (!pGraphics)