From 330a7037a2b6ef329c18cac39d895ef42c2b793e Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 26 Feb 2016 14:41:42 -0800 Subject: Fix windows build broken at 007e6c0 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1727273007 . --- xfa/src/fxfa/src/app/xfa_ffwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/src/fxfa') diff --git a/xfa/src/fxfa/src/app/xfa_ffwidget.cpp b/xfa/src/fxfa/src/app/xfa_ffwidget.cpp index 47042f71af..8cc281ccff 100644 --- a/xfa/src/fxfa/src/app/xfa_ffwidget.cpp +++ b/xfa/src/fxfa/src/app/xfa_ffwidget.cpp @@ -1882,10 +1882,10 @@ static void XFA_BOX_Stroke(CXFA_Box box, XFA_BOX_StrokeArc(box, pGS, rtWidget, pMatrix, dwFlags); return; } - FX_BOOL bVisible = FALSE; + bool bVisible = false; for (int32_t j = 0; j < 4; j++) { - bVisible |= strokes[j * 2 + 1].IsVisible(); - if (bVisible) { + if (strokes[j * 2 + 1].IsVisible()) { + bVisible = true; break; } } -- cgit v1.2.3