diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-03 16:32:19 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-03 16:32:19 +0000 |
commit | 232b918d1f0faec230652f4097b834257a7dbb27 (patch) | |
tree | c13213ab3d70cc147a6ea59b0f090a51beecae8f /core/fxge/cfx_facecache.cpp | |
parent | 36d7ad4a24287b562e1d88fcde635e36a167bfe3 (diff) | |
download | pdfium-232b918d1f0faec230652f4097b834257a7dbb27.tar.xz |
Re-arrange so inline vectors come last in structs.
This might make the memory tools more effective in finding OOBs.
Change-Id: Id093bb0a88c37954c80d612ac00b5a168e75bdbf
Reviewed-on: https://pdfium-review.googlesource.com/29550
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxge/cfx_facecache.cpp')
-rw-r--r-- | core/fxge/cfx_facecache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/cfx_facecache.cpp b/core/fxge/cfx_facecache.cpp index ea72905f1b..ba316c1451 100644 --- a/core/fxge/cfx_facecache.cpp +++ b/core/fxge/cfx_facecache.cpp @@ -40,8 +40,8 @@ constexpr int kMaxGlyphDimension = 2048; struct UniqueKeyGen { void Generate(int count, ...); - char key_[128]; int key_len_; + char key_[128]; }; void UniqueKeyGen::Generate(int count, ...) { |