Index: src/gpu/GrPathRendering.cpp |
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp |
index 652f2ce1957ba02646905d7829264e57a0d27ef1..fe912e23a2ecd41077112151172432e442c85db2 100644 |
--- a/src/gpu/GrPathRendering.cpp |
+++ b/src/gpu/GrPathRendering.cpp |
@@ -71,9 +71,7 @@ public: |
fScalerContext->getPath(skGlyph, out); |
} |
#ifdef SK_DEBUG |
- bool isEqualTo(const SkDescriptor& desc) const override { |
- return fDesc->equals(desc); |
- } |
+ bool isEqualTo(const SkDescriptor& desc) const override { return *fDesc == desc; } |
#endif |
private: |
const SkAutoTDelete<SkScalerContext> fScalerContext; |