Index: src/gpu/text/GrAtlasTextBlob.cpp |
diff --git a/src/gpu/text/GrAtlasTextBlob.cpp b/src/gpu/text/GrAtlasTextBlob.cpp |
index ed44ed538650c3f4d64eb55885a1cccfe1cf3f61..03260a6e522233236527c93085a530d4603cf00c 100644 |
--- a/src/gpu/text/GrAtlasTextBlob.cpp |
+++ b/src/gpu/text/GrAtlasTextBlob.cpp |
@@ -511,13 +511,13 @@ void GrAtlasTextBlob::AssertEqual(const GrAtlasTextBlob& l, const GrAtlasTextBlo |
SkASSERT_RELEASE(lRun.fDescriptor.getDesc()); |
SkASSERT_RELEASE(rRun.fDescriptor.getDesc()); |
- SkASSERT_RELEASE(lRun.fDescriptor.getDesc()->equals(*rRun.fDescriptor.getDesc())); |
+ SkASSERT_RELEASE(*lRun.fDescriptor.getDesc() == *rRun.fDescriptor.getDesc()); |
if (lRun.fOverrideDescriptor.get()) { |
SkASSERT_RELEASE(lRun.fOverrideDescriptor->getDesc()); |
SkASSERT_RELEASE(rRun.fOverrideDescriptor.get() && rRun.fOverrideDescriptor->getDesc()); |
- SkASSERT_RELEASE(lRun.fOverrideDescriptor->getDesc()->equals( |
- *rRun.fOverrideDescriptor->getDesc())); |
+ SkASSERT_RELEASE(*lRun.fOverrideDescriptor->getDesc() == |
+ *rRun.fOverrideDescriptor->getDesc()); |
} else { |
SkASSERT_RELEASE(!rRun.fOverrideDescriptor.get()); |
} |