Index: include/gpu/SkGr.h |
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h |
index e306293e318091e443eb4dac07d7372e87987033..2f8867950323d17752b358c170515c144fe0497f 100644 |
--- a/include/gpu/SkGr.h |
+++ b/include/gpu/SkGr.h |
@@ -16,7 +16,6 @@ |
// Gr headers |
#include "GrTypes.h" |
#include "GrContext.h" |
-#include "GrFontScaler.h" |
// skia headers |
#include "SkBitmap.h" |
@@ -104,28 +103,6 @@ void SkPaint2GrPaintShader(GrContext* context, const SkPaint& skPaint, |
class SkGlyphCache; |
-class SkGrFontScaler : public GrFontScaler { |
-public: |
- explicit SkGrFontScaler(SkGlyphCache* strike); |
- virtual ~SkGrFontScaler(); |
- |
- // overrides |
- virtual const GrKey* getKey(); |
- virtual GrMaskFormat getMaskFormat(); |
- virtual bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds) SK_OVERRIDE; |
- virtual bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height, |
- int rowBytes, void* image) SK_OVERRIDE; |
- virtual bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds) SK_OVERRIDE; |
- virtual bool getPackedGlyphDFImage(GrGlyph::PackedID, int width, int height, |
- void* image) SK_OVERRIDE; |
- virtual bool getGlyphPath(uint16_t glyphID, SkPath*); |
- |
-private: |
- SkGlyphCache* fStrike; |
- GrKey* fKey; |
-// DECLARE_INSTANCE_COUNTER(SkGrFontScaler); |
-}; |
- |
//////////////////////////////////////////////////////////////////////////////// |
#endif |