diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-10 17:41:29 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-10 17:41:29 +0000 |
commit | 6655d95a8586c1f272d5d418bb63514abbe1d695 (patch) | |
tree | 6559d283e8136f4866795087f6886e6c0ab15927 /core/fxcodec/gif/cfx_lzwdecompressor.h | |
parent | ef7c9553811c8b45ada69260e9abf5d4444bcd51 (diff) | |
download | pdfium-6655d95a8586c1f272d5d418bb63514abbe1d695.tar.xz |
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 <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcodec/gif/cfx_lzwdecompressor.h')
-rw-r--r-- | core/fxcodec/gif/cfx_lzwdecompressor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/gif/cfx_lzwdecompressor.h b/core/fxcodec/gif/cfx_lzwdecompressor.h index f4df065e34..d3ec588de1 100644 --- a/core/fxcodec/gif/cfx_lzwdecompressor.h +++ b/core/fxcodec/gif/cfx_lzwdecompressor.h @@ -14,10 +14,10 @@ class CFX_LZWDecompressor { public: - typedef struct { + struct CodeEntry { uint16_t prefix; uint8_t suffix; - } CodeEntry; + }; // Returns nullptr on error static std::unique_ptr<CFX_LZWDecompressor> Create(uint8_t color_exp, |