summaryrefslogtreecommitdiff
path: root/core/fxge/ge/cfx_renderdevice.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-27 12:57:52 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-27 12:57:52 -0700
commit5c15e67e12e245d102a2e0ef1b4ade54379f252c (patch)
tree0d26b2039eae74fa403256469b3eb15b7553e081 /core/fxge/ge/cfx_renderdevice.cpp
parentaeab530b04938797a3fda138a6f25939a26e41d4 (diff)
downloadpdfium-5c15e67e12e245d102a2e0ef1b4ade54379f252c.tar.xz
Fix some FX_BOOL / int noise in core/fx*chromium/2903
Review-Url: https://codereview.chromium.org/2459673002
Diffstat (limited to 'core/fxge/ge/cfx_renderdevice.cpp')
-rw-r--r--core/fxge/ge/cfx_renderdevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/ge/cfx_renderdevice.cpp b/core/fxge/ge/cfx_renderdevice.cpp
index 0ee99947a4..1c3611ed9b 100644
--- a/core/fxge/ge/cfx_renderdevice.cpp
+++ b/core/fxge/ge/cfx_renderdevice.cpp
@@ -532,7 +532,7 @@ FX_BOOL CFX_RenderDevice::DrawPathWithBlend(
CFX_PathData newPath;
FX_BOOL bThin = FALSE;
if (pPathData->GetZeroAreaPath(newPath, (CFX_Matrix*)pObject2Device, bThin,
- m_pDeviceDriver->GetDriverType())) {
+ !!m_pDeviceDriver->GetDriverType())) {
CFX_GraphStateData graphState;
graphState.m_LineWidth = 0.0f;
uint32_t strokecolor = fill_color;