aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkGlyph.h
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-05-02 13:01:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-04 18:49:45 +0000
commit5570ea0c2549722f4069add1875743e6c44fc50b (patch)
tree9f7aa2e92e10fabc88b5879ef709d54a1e3bf75c /src/core/SkGlyph.h
parentbba38ee80e4140908ac0c351dc18a2f1224e5f0a (diff)
Remove android specific code
Change-Id: Ib9b1f936d1aee920ba7064a9eccffaca6696812f Reviewed-on: https://skia-review.googlesource.com/125341 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com> Auto-Submit: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkGlyph.h')
-rw-r--r--src/core/SkGlyph.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h
index 87cd852bd8..dfb51cb35a 100644
--- a/src/core/SkGlyph.h
+++ b/src/core/SkGlyph.h
@@ -14,7 +14,6 @@
#include "SkMask.h"
#include "SkTypes.h"
-
class SkPath;
class SkGlyphCache;
@@ -86,12 +85,6 @@ struct SkPackedID {
return SkChecksum::CheapMix(fID);
}
-// FIXME - This is needed because the Android framework directly accesses fID.
-// Remove when fID accesses are cleaned up.
-#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- operator uint32_t() const { return fID; }
-#endif
-
private:
static unsigned ID2SubX(uint32_t id) {
return id >> (kSubShift + kSubShiftX);
@@ -156,12 +149,9 @@ public:
uint16_t fWidth, fHeight;
int16_t fTop, fLeft;
+ int8_t fForceBW;
uint8_t fMaskFormat;
-#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- int8_t fRsbDelta, fLsbDelta; // used by auto-kerning
-#endif
- int8_t fForceBW;
void initWithGlyphID(SkPackedGlyphID glyph_id);
@@ -217,12 +207,6 @@ public:
private:
// TODO(herb) remove friend statement after SkGlyphCache cleanup.
friend class SkGlyphCache;
-
-// FIXME - This is needed because the Android frame work directly accesses fID.
-// Remove when fID accesses are cleaned up.
-#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
- public:
-#endif
SkPackedGlyphID fID;
};