diff options
author | Lei Zhang <thestig@chromium.org> | 2017-05-19 17:08:25 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-20 00:20:14 +0000 |
commit | 910b7635d72b66a06ab22806ad09b650131b4dc2 (patch) | |
tree | d22729b52fd2143b5e90caae35664e277afcc45d /core/fpdfapi/render/cpdf_pagerendercache.h | |
parent | 7936fd1091f3101ba99c270e9d83a66b798cee39 (diff) | |
download | pdfium-910b7635d72b66a06ab22806ad09b650131b4dc2.tar.xz |
Use std::vector and std::sort() in CPDF_PageRenderCache.
Instead of allocating a chunk of memory and using qsort().
Change-Id: I95041f79cfe609a9d99493d59eb074599ec49230
Reviewed-on: https://pdfium-review.googlesource.com/5690
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_pagerendercache.h')
-rw-r--r-- | core/fpdfapi/render/cpdf_pagerendercache.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_pagerendercache.h b/core/fpdfapi/render/cpdf_pagerendercache.h index 8235cec22d..5d9ae03a1c 100644 --- a/core/fpdfapi/render/cpdf_pagerendercache.h +++ b/core/fpdfapi/render/cpdf_pagerendercache.h @@ -17,7 +17,6 @@ class CPDF_ImageCacheEntry; class CPDF_Page; class CPDF_RenderStatus; class CFX_DIBitmap; -class CFX_DIBSource; class IFX_Pause; class CPDF_PageRenderCache { |