Revert "[PDF] Refactor SkPDFFont to enable font/cmap subsetting."
The PDF xref table is corrupt with this change. Revert until we figure it out.
Review URL: http://codereview.appspot.com/4803049
git-svn-id: http://skia.googlecode.com/svn/trunk@1944 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/pdf/SkBitSet.h b/include/pdf/SkBitSet.h
index 01d9c6c..84d52e5 100755
--- a/include/pdf/SkBitSet.h
+++ b/include/pdf/SkBitSet.h
@@ -40,12 +40,12 @@
/** Test if bit index is set.
*/
- bool isBitSet(int index) const;
+ bool isBitSet(int index);
/** Or bits from source. false is returned if this doesn't have the same
* bit count as source.
*/
- bool orBits(const SkBitSet& source);
+ bool orBits(SkBitSet& source);
private:
SkAutoFree fBitData;
@@ -53,7 +53,7 @@
size_t fDwordCount;
size_t fBitCount;
- uint32_t* internalGet(int index) const {
+ uint32_t* internalGet(int index) {
SkASSERT((size_t)index < fBitCount);
size_t internalIndex = index / 32;
SkASSERT(internalIndex < fDwordCount);