diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-11 14:51:47 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-11 14:51:47 +0000 |
commit | 92c8b1a07b01f428ec3f2b6d04acc109bfdeb3da (patch) | |
tree | 879358759423e52be29429e7ffd7bae90a61e48b | |
parent | 4ecf9a855205d33491adf59c86e81548321542ee (diff) | |
download | pdfium-chromium/3292.tar.xz |
Initialize FDE_TEXTEDITPIECE.chromium/3292
BUG=pdfium:958
Change-Id: I7c17c327db974dacbeb3577d79c9522de348c78e
Reviewed-on: https://pdfium-review.googlesource.com/20730
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | xfa/fde/cfde_texteditengine.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fde/cfde_texteditengine.h b/xfa/fde/cfde_texteditengine.h index 43cfe0c0d3..5decc18ab6 100644 --- a/xfa/fde/cfde_texteditengine.h +++ b/xfa/fde/cfde_texteditengine.h @@ -23,11 +23,11 @@ struct FDE_TEXTEDITPIECE { FDE_TEXTEDITPIECE(const FDE_TEXTEDITPIECE& that); ~FDE_TEXTEDITPIECE(); - int32_t nStart; - int32_t nCount; - int32_t nBidiLevel; + int32_t nStart = 0; + int32_t nCount = 0; + int32_t nBidiLevel = 0; CFX_RectF rtPiece; - uint32_t dwCharStyles; + uint32_t dwCharStyles = 0; }; inline FDE_TEXTEDITPIECE::FDE_TEXTEDITPIECE() = default; |