From b5dd65f31408dc8c15d202cbb3e8d9ec2afd4520 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 20 Oct 2015 14:28:37 -0700 Subject: Cosmetic changes in fsdk_define.h R=thestig@chromium.org Review URL: https://codereview.chromium.org/1412123004 . --- fpdfsdk/include/fsdk_define.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h index dbe08e71f7..37788c3ff7 100644 --- a/fpdfsdk/include/fsdk_define.h +++ b/fpdfsdk/include/fsdk_define.h @@ -24,19 +24,15 @@ #include #endif -#ifndef FX_ARGBTOCOLORREF -/** @brief Convert a #FX_ARGB to a #FX_COLORREF. */ +// Convert a #FX_ARGB to a #FX_COLORREF. #define FX_ARGBTOCOLORREF(argb) \ ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ (((FX_DWORD)argb & 0x000000FF) << 16)) -#endif -#ifndef FX_COLORREFTOARGB -/** @brief Convert a #FX_COLORREF to a #FX_ARGB. */ +// Convert a #FX_COLORREF to a #FX_ARGB. #define FX_COLORREFTOARGB(rgb) \ ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \ ((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16)) -#endif typedef unsigned int FX_UINT; class CRenderContext; -- cgit v1.2.3