From 50cce609050e1a40e1d6936e0a3f0614b4483eee Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 24 Feb 2016 09:51:16 -0500 Subject: Fixing whitespace lint errors. This CL enables several of the diabled whitelist/* lint checks. R=thestig@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/1730553002 . --- xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h | 3 ++- xfa/src/fwl/src/core/fwl_appimp.cpp | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'xfa/src/fwl') diff --git a/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h b/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h index 26a472b17b..607af804a5 100644 --- a/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h +++ b/xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h @@ -13,9 +13,10 @@ class CFWL_WidgetImpProperties; class IFWL_Widget; class IFDE_DateTime; class CFDE_DateTime; -extern uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth); class CFWL_MonthCalendarImpDelegate; +extern uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth); + class CFWL_MonthCalendarImp : public CFWL_WidgetImp { public: CFWL_MonthCalendarImp(const CFWL_WidgetImpProperties& properties, diff --git a/xfa/src/fwl/src/core/fwl_appimp.cpp b/xfa/src/fwl/src/core/fwl_appimp.cpp index 6d71825d5f..1dd66e152f 100644 --- a/xfa/src/fwl/src/core/fwl_appimp.cpp +++ b/xfa/src/fwl/src/core/fwl_appimp.cpp @@ -72,8 +72,9 @@ FWL_ERR CFWL_AppImp::SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) { return FWL_ERR_Succeeded; } FWL_ERR CFWL_AppImp::Exit(int32_t iExitCode) { - while (m_pNoteDriver->PopNoteLoop()) - ; + while (m_pNoteDriver->PopNoteLoop()) { + continue; + } return m_pWidgetMgr->GetAdapterWidgetMgr()->Exit(0); } IFWL_ThemeProvider* CFWL_AppImp::GetThemeProvider() const { -- cgit v1.2.3