Index: src/gpu/GrPathRendering.cpp |
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp |
index d98d9d2f30fc7cc644fc29b467132980bed4cd85..0287eb08aa82c1a5db5c15fd3fcf8dd65fb2c791 100644 |
--- a/src/gpu/GrPathRendering.cpp |
+++ b/src/gpu/GrPathRendering.cpp |
@@ -19,9 +19,7 @@ public: |
#ifdef SK_DEBUG |
, fDesc(desc.copy()) |
#endif |
- { |
- fFlipMatrix.setScale(1, -1); |
- } |
+ {} |
virtual ~GlyphGenerator() { |
#ifdef SK_DEBUG |
@@ -39,7 +37,6 @@ public: |
fScalerContext->getMetrics(&skGlyph); |
fScalerContext->getPath(skGlyph, out); |
- out->transform(fFlipMatrix); // Load glyphs with the inverted y-direction. |
} |
#ifdef SK_DEBUG |
bool isEqualTo(const SkDescriptor& desc) const override { |
@@ -48,7 +45,6 @@ public: |
#endif |
private: |
const SkAutoTDelete<SkScalerContext> fScalerContext; |
- SkMatrix fFlipMatrix; |
#ifdef SK_DEBUG |
SkDescriptor* const fDesc; |
#endif |