Remove accidentally repeated bit-index expression.

Also, remove unused #include of SkBitSet.

Change-Id: Ib1b903f78e835a75c8ba88ac35bfa270df7bc0e3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/322681
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
This commit is contained in:
John Stiles 2020-10-07 12:30:39 -04:00 committed by Skia Commit-Bot
parent 989f5bfb8f
commit f41762a5da
2 changed files with 1 additions and 2 deletions

View File

@ -132,7 +132,7 @@ public:
if (bitIndex >= fSize) {
break;
}
return OptionalIndex(i * kChunkBits + SkCTZ(chunk));
return OptionalIndex(bitIndex);
}
}
return OptionalIndex();

View File

@ -13,7 +13,6 @@
#include "include/core/SkStream.h"
#include "include/private/SkTo.h"
#include "src/pdf/SkPDFMakeToUnicodeCmap.h"
#include "src/utils/SkBitSet.h"
static constexpr SkGlyphID kMaximumGlyphIndex = UINT16_MAX;