summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-26 14:41:42 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-26 14:41:42 -0800
commit330a7037a2b6ef329c18cac39d895ef42c2b793e (patch)
tree24f07cc220b2d93bac764f775164ad824cf9a4f2 /xfa
parent007e6c0f9559412788b903bcb6a7601e220c3be8 (diff)
downloadpdfium-330a7037a2b6ef329c18cac39d895ef42c2b793e.tar.xz
Fix windows build broken at 007e6c0
TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1727273007 .
Diffstat (limited to 'xfa')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffwidget.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}
}