From 6655d95a8586c1f272d5d418bb63514abbe1d695 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 10 Aug 2018 17:41:29 +0000 Subject: Remove |typedef struct| in favor of just |struct|. Because I saw one in some other code and decided to hunt them all. These are all defined in C++ context, so no chance of C compatiblity. Note that such a declaration without a struct tag will bypass the [chromium-style] out-of-line constructor/destructor warnings, so add constructors/destructors where required. Change-Id: Ib821d8bc2f68ccf7028b0f73432e8e7c93a953ba Reviewed-on: https://pdfium-review.googlesource.com/39851 Commit-Queue: Tom Sepez Reviewed-by: Lei Zhang --- core/fxge/win32/cfx_windowsdib.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'core/fxge/win32/cfx_windowsdib.h') diff --git a/core/fxge/win32/cfx_windowsdib.h b/core/fxge/win32/cfx_windowsdib.h index 3120b8f543..c64fc7dc16 100644 --- a/core/fxge/win32/cfx_windowsdib.h +++ b/core/fxge/win32/cfx_windowsdib.h @@ -17,15 +17,12 @@ #define WINDIB_OPEN_MEMORY 0x1 #define WINDIB_OPEN_PATHNAME 0x2 -typedef struct WINDIB_Open_Args_ { +struct WINDIB_Open_Args_ { int flags; - const uint8_t* memory_base; - size_t memory_size; - const wchar_t* path_name; -} WINDIB_Open_Args_; +}; class CFX_WindowsDIB : public CFX_DIBitmap { public: -- cgit v1.2.3