Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Unified Diff: xfa/src/fwl/src/basewidget/include/fwl_caretimp.h

Issue 1499853003: Remove C-Style casts in fwl_{barcode,caret,checkbox,combobox}imp.cpp (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/src/fwl/src/basewidget/include/fwl_caretimp.h
diff --git a/xfa/src/fwl/src/basewidget/include/fwl_caretimp.h b/xfa/src/fwl/src/basewidget/include/fwl_caretimp.h
index 5b7d0642ef7bad755e330ffc3c6f858d14f8aa6e..b8e47b6b5af9c5a16a2d63d140ba3e08d11c0976 100644
--- a/xfa/src/fwl/src/basewidget/include/fwl_caretimp.h
+++ b/xfa/src/fwl/src/basewidget/include/fwl_caretimp.h
@@ -6,6 +6,9 @@
#ifndef _FWL_CARET_IMP_H
#define _FWL_CARET_IMP_H
+
+#include "xfa/include/fwl/core/fwl_timer.h"
+
class CFWL_WidgetImp;
class CFWL_WidgetImpProperties;
class CFWL_WidgetImpDelegate;
@@ -37,11 +40,11 @@ class CFWL_CaretImp : public CFWL_WidgetImp {
FX_BOOL DrawCaretBK(CFX_Graphics* pGraphics,
IFWL_ThemeProvider* pTheme,
const CFX_Matrix* pMatrix);
- class CFWL_CaretTimer {
+ class CFWL_CaretTimer : public IFWL_Timer {
Tom Sepez 2015/12/04 23:38:47 yow.
public:
CFWL_CaretTimer(CFWL_CaretImp* m_pCaret);
- virtual ~CFWL_CaretTimer() {}
- virtual int32_t Run(FWL_HTIMER hTimer);
+ ~CFWL_CaretTimer() override {}
+ int32_t Run(FWL_HTIMER hTimer) override;
CFWL_CaretImp* m_pCaret;
};
CFWL_CaretTimer* m_pTimer;

Powered by Google App Engine
This is Rietveld 408576698