Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1108)

Unified Diff: src/xps/SkXPSDevice.cpp

Issue 2265623002: src/utils/SkBitSet: simplify (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-19 (Friday) 16:05:19 EDT Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/utils/SkBitSet.cpp ('k') | tests/BitSetTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/xps/SkXPSDevice.cpp
diff --git a/src/xps/SkXPSDevice.cpp b/src/xps/SkXPSDevice.cpp
index ca0ee04add51c6661905f9bf162377dc83e8881c..db152844a148aae2bcce28cddfa668f4a5899057 100644
--- a/src/xps/SkXPSDevice.cpp
+++ b/src/xps/SkXPSDevice.cpp
@@ -2095,7 +2095,7 @@ public:
XPS_GLYPH_INDEX* xpsGlyph = fXpsGlyphs->append();
uint16_t glyphID = glyph.getGlyphID();
- fGlyphUse->setBit(glyphID, true);
+ fGlyphUse->set(glyphID);
xpsGlyph->index = glyphID;
if (1 == fXpsGlyphs->count()) {
xpsGlyph->advanceWidth = 0.0f;
« no previous file with comments | « src/utils/SkBitSet.cpp ('k') | tests/BitSetTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698