diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-09-12 14:49:29 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-13 00:09:28 +0000 |
commit | f2ca50ffa2d26a6c023add24e92adbe6b28bfcc9 (patch) | |
tree | 400be20cc2289c35d8bf61ba66ab56bdba14fa8b /core/fxcrt/fx_system.h | |
parent | 5b2092a1ec59077b430bd2cab91554cad2eb5128 (diff) | |
download | pdfium-f2ca50ffa2d26a6c023add24e92adbe6b28bfcc9.tar.xz |
Avoid double va_list traversal in CFX_WideString::FormatV
Speculative fix for bug. Also remove FX_VA_COPY as va_copy should
be fine on all ports nowdays (we think).
Bug: 763965
Change-Id: I5c321d5624d00b3b2f262ec599e4382f02b744ff
Reviewed-on: https://pdfium-review.googlesource.com/13790
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_system.h')
-rw-r--r-- | core/fxcrt/fx_system.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h index 600d71c72b..7a95bf4fd0 100644 --- a/core/fxcrt/fx_system.h +++ b/core/fxcrt/fx_system.h @@ -263,13 +263,4 @@ int FXSYS_round(float f); #define NEVER_INLINE __attribute__((__noinline__)) #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ -// Handle differnces between platform's variadic function implementations. -#if defined(__ARMCC_VERSION) || \ - (!defined(_MSC_VER) && (_FX_CPU_ == _FX_X64_ || _FX_CPU_ == _FX_IA64_ || \ - _FX_CPU_ == _FX_ARM64_)) -#define FX_VA_COPY(dst, src) va_copy((dst), (src)) -#else -#define FX_VA_COPY(dst, src) ((dst) = (src)) -#endif - #endif // CORE_FXCRT_FX_SYSTEM_H_ |