| commit | 6504cfdfc035f0a2cb854be9df352159873b9d62 | [log] [tgz] |
|---|---|---|
| author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sat Jul 23 20:22:53 2011 +0000 |
| committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Sat Jul 23 20:22:53 2011 +0000 |
| tree | 75f05c33e82b05edc130ae91bc0c39048d6bd7f2 | |
| parent | 0e35ca8382ae101187c7cb2e1bdcf5dff1fd9a6f [diff] [blame] |
[PDF] Refactor SkPDFFont to enable font/cmap subsetting. Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4633050/ Review URL: http://codereview.appspot.com/4811049 git-svn-id: http://skia.googlecode.com/svn/trunk@1943 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pdf/SkBitSet.cpp b/src/pdf/SkBitSet.cpp index f19dd69..c7af832 100755 --- a/src/pdf/SkBitSet.cpp +++ b/src/pdf/SkBitSet.cpp
@@ -73,12 +73,12 @@ } } -bool SkBitSet::isBitSet(int index) { +bool SkBitSet::isBitSet(int index) const { uint32_t mask = 1 << (index % 32); return (*internalGet(index) & mask); } -bool SkBitSet::orBits(SkBitSet& source) { +bool SkBitSet::orBits(const SkBitSet& source) { if (fBitCount != source.fBitCount) { return false; }