diff options
author | weili <weili@chromium.org> | 2016-05-26 11:53:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-26 11:53:12 -0700 |
commit | 60607c3baaf52574cab748a97c213e447c9108c0 (patch) | |
tree | fb5ec2b56e97ef5019e4061d5cfd19eec7bfa0d6 /xfa/fwl/core/cfwl_widgetmgr.cpp | |
parent | fd6cfad310187631554613c375ec1b4c5ef887a3 (diff) | |
download | pdfium-60607c3baaf52574cab748a97c213e447c9108c0.tar.xz |
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
Diffstat (limited to 'xfa/fwl/core/cfwl_widgetmgr.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_widgetmgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |