diff options
author | halcanary <halcanary@google.com> | 2016-06-30 11:55:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-30 11:55:07 -0700 |
commit | 3c35fb3310c22eb0141c8f39c5423f7bcd42adff (patch) | |
tree | f7238cbcc539606975a0e11dc361c66ba1c23cea /src/utils/SkBitSet.h | |
parent | d46cdc4c99c0f400b9f7357eb2b877c35707e9c7 (diff) |
SkPDF: Glyph Useage Map improvements
Instead of having a fFontGlyphUsage on each device and one on each
document, just have the one on the document, and never merge.
Make fGlyphUsage accesible on SkPDFDocument.
Remove SkPDFGlyphSetMap::merge, ::reset, and SkPDFGlyphSet::merge.
SkPDFGlyphSetMap has an TArray of SkPDFGlyphSet, not TDArray of
SkPDFGlyphSet pointers. SkPDFGlyphSet and SkPDFBitset get move
constructors.
All tests produce exactly identical output PDFs.
BUG=skia:5434
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2112943002
Review-Url: https://codereview.chromium.org/2112943002
Diffstat (limited to 'src/utils/SkBitSet.h')
-rw-r--r-- | src/utils/SkBitSet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/SkBitSet.h b/src/utils/SkBitSet.h index 802b9e12ac..6882752bc0 100644 --- a/src/utils/SkBitSet.h +++ b/src/utils/SkBitSet.h @@ -18,6 +18,7 @@ public: */ explicit SkBitSet(int numberOfBits); explicit SkBitSet(const SkBitSet& source); + explicit SkBitSet(SkBitSet&&); SkBitSet& operator=(const SkBitSet& rhs); bool operator==(const SkBitSet& rhs); |