Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: src/gpu/GrPathRendering.cpp

Issue 1986253002: Rename SkDescriptor::equals to SkDescriptor::operator== (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkGlyphCache.cpp ('k') | src/gpu/text/GrAtlasTextBlob.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « src/core/SkGlyphCache.cpp ('k') | src/gpu/text/GrAtlasTextBlob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698