summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-26 11:49:46 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-26 11:49:46 -0800
commitdfefa9b2c99e0588bf229e2b92d85c88e5f18a41 (patch)
treefd6d629d010001bb4f1d998a809277384a973210 /xfa/src/fxfa
parent104fa7c879398c67cdaab3f7064ca9f6da07b072 (diff)
downloadpdfium-dfefa9b2c99e0588bf229e2b92d85c88e5f18a41.tar.xz
Replace or remove _FX control-flow defines
They buy us nothing and obfuscate the logic. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1740223002 .
Diffstat (limited to 'xfa/src/fxfa')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffwidget.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffwidget.h b/xfa/src/fxfa/src/app/xfa_ffwidget.h
index b08e795601..526545ac49 100644
--- a/xfa/src/fxfa/src/app/xfa_ffwidget.h
+++ b/xfa/src/fxfa/src/app/xfa_ffwidget.h
@@ -19,11 +19,6 @@ class CXFA_FFDocView;
class CXFA_FFDoc;
class CXFA_FFApp;
-#define XFA_GOTO_POSITION_IF_FAIL(arg, pos) \
- { \
- if (!(arg)) \
- goto pos; \
- }
inline FX_FLOAT XFA_UnitPx2Pt(FX_FLOAT fPx, FX_FLOAT fDpi) {
return fPx * 72.0f / fDpi;
}