summaryrefslogtreecommitdiff
path: root/xfa/src/fwl
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-24 09:51:16 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-24 09:51:16 -0500
commit50cce609050e1a40e1d6936e0a3f0614b4483eee (patch)
treebdcd3399ee0c2fc5352ec8b008499a91ee08a422 /xfa/src/fwl
parenta7f70cc1ff7d54b92d9c55326c1439a25116e00c (diff)
downloadpdfium-50cce609050e1a40e1d6936e0a3f0614b4483eee.tar.xz
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 .
Diffstat (limited to 'xfa/src/fwl')
-rw-r--r--xfa/src/fwl/src/basewidget/include/fwl_monthcalendarimp.h3
-rw-r--r--xfa/src/fwl/src/core/fwl_appimp.cpp5
2 files changed, 5 insertions, 3 deletions
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 {