From 60607c3baaf52574cab748a97c213e447c9108c0 Mon Sep 17 00:00:00 2001 From: weili Date: Thu, 26 May 2016 11:53:12 -0700 Subject: Enable chromium_code standard for XFA code Clean up the left code which causes warnings. Enable using chromium_code for XFA compilation, also re-enable all the msvs warning flags except 4267 (same as the main pdfium code). BUG=pdfium:29,pdfium:475 Review-Url: https://codereview.chromium.org/2009813004 --- xfa/fwl/core/cfwl_widgetmgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fwl/core') diff --git a/xfa/fwl/core/cfwl_widgetmgr.cpp b/xfa/fwl/core/cfwl_widgetmgr.cpp index 760be7107b..90d621477a 100644 --- a/xfa/fwl/core/cfwl_widgetmgr.cpp +++ b/xfa/fwl/core/cfwl_widgetmgr.cpp @@ -816,8 +816,8 @@ FX_BOOL CFWL_WidgetMgrDelegate::IsNeedRepaint(IFWL_Widget* pWidget, if (r.Contains(hitPoint[i].hitPoint)) hitPoint[i].bNotNeedRepaint = true; } - } while ( - (pChild = CFWL_WidgetMgr::GetInstance()->GetNextSiblingWidget(pChild))); + pChild = CFWL_WidgetMgr::GetInstance()->GetNextSiblingWidget(pChild); + } while (pChild); if (!bChildIntersectWithDirty) return TRUE; -- cgit v1.2.3