diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-03-01 12:52:58 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-03-01 12:52:58 -0500 |
commit | d5366ad9559a0c49aeeb309388072fee9dc83ea5 (patch) | |
tree | 9f505ff604963ba2511e2dcdcd19692ecadfbcb8 /core/src/fxcrt/fx_extension.cpp | |
parent | 4d2ce6fe3f41d360fcebe0e0c3944dd22a971cd6 (diff) | |
download | pdfium-d5366ad9559a0c49aeeb309388072fee9dc83ea5.tar.xz |
Remove _FX_WINAPI_PARTITION_DESKTOP_
This does not appear to ever be defined, remove.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1753723002 .
Diffstat (limited to 'core/src/fxcrt/fx_extension.cpp')
-rw-r--r-- | core/src/fxcrt/fx_extension.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/src/fxcrt/fx_extension.cpp b/core/src/fxcrt/fx_extension.cpp index 31f645ae0f..09414cb0c0 100644 --- a/core/src/fxcrt/fx_extension.cpp +++ b/core/src/fxcrt/fx_extension.cpp @@ -365,18 +365,7 @@ void FX_Random_GenerateCrypto(FX_DWORD* pBuffer, int32_t iCount) { #ifdef PDF_ENABLE_XFA void FX_GUID_CreateV4(FX_LPGUID pGUID) { -#if (_FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN32_MOBILE_ || \ - _FX_OS_ == _FX_WIN64_) -#ifdef _FX_WINAPI_PARTITION_DESKTOP_ - if (!FX_GenerateCryptoRandom((FX_DWORD*)pGUID, 4)) { - FX_Random_GenerateMT((FX_DWORD*)pGUID, 4); - } -#else - FX_Random_GenerateMT((FX_DWORD*)pGUID, 4); -#endif -#else FX_Random_GenerateMT((FX_DWORD*)pGUID, 4); -#endif uint8_t& b = ((uint8_t*)pGUID)[6]; b = (b & 0x0F) | 0x40; } |