aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDescriptor.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-05-19 12:51:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-19 12:51:46 -0700
commitd1c71fd56c293afb986cb5e7546a3a8e4b190d48 (patch)
tree68942a13b53bdac458f47249b6360e1f61af6b57 /src/core/SkDescriptor.h
parent5f2fa47a6ea50653fa1584d6baeabce50698881c (diff)
Attempt to improve lifetime management of SkGlyphCache in Ganesh atlas text code.
Diffstat (limited to 'src/core/SkDescriptor.h')
-rw-r--r--src/core/SkDescriptor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkDescriptor.h b/src/core/SkDescriptor.h
index 736021953b..71f71336fd 100644
--- a/src/core/SkDescriptor.h
+++ b/src/core/SkDescriptor.h
@@ -102,6 +102,7 @@ public:
} while (aa < stop);
return true;
}
+ bool operator!=(const SkDescriptor& other) const { return !(*this == other); }
uint32_t getChecksum() const { return fChecksum; }