aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-05-17 10:17:45 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-17 10:17:46 -0700
commitc5d07faced11ab20218aef04cbc3388d7a85eb28 (patch)
treedc11d08af4f0188be9bdcf22b1619d3202f41f2f /src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp
parentca6eafc0f7e59ed89f03a9891b9fdf7de64f1f35 (diff)
Rename SkDescriptor::equals to SkDescriptor::operator==
Diffstat (limited to 'src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp')
-rw-r--r--src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp
index 7c3cf68524..94bfb1b953 100644
--- a/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp
+++ b/src/gpu/text/GrAtlasTextBlob_regenInBatch.cpp
@@ -160,7 +160,7 @@ void GrAtlasTextBlob::regenInBatch(GrDrawBatch::Target* target,
run->fOverrideDescriptor->getDesc() :
run->fDescriptor.getDesc();
if (!*cache || !SkTypeface::Equal(*typeface, run->fTypeface) ||
- !((*desc)->equals(*newDesc))) {
+ !(**desc == *newDesc)) {
if (*cache) {
SkGlyphCache::AttachCache(*cache);
}