diff options
author | 2016-05-19 12:51:46 -0700 | |
---|---|---|
committer | 2016-05-19 12:51:46 -0700 | |
commit | d1c71fd56c293afb986cb5e7546a3a8e4b190d48 (patch) | |
tree | 68942a13b53bdac458f47249b6360e1f61af6b57 /src/core/SkGlyphCache.h | |
parent | 5f2fa47a6ea50653fa1584d6baeabce50698881c (diff) |
Attempt to improve lifetime management of SkGlyphCache in Ganesh atlas text code.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1983353003
Review-Url: https://codereview.chromium.org/1983353003
Diffstat (limited to 'src/core/SkGlyphCache.h')
-rw-r--r-- | src/core/SkGlyphCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkGlyphCache.h b/src/core/SkGlyphCache.h index fd3ef66028..2a96370045 100644 --- a/src/core/SkGlyphCache.h +++ b/src/core/SkGlyphCache.h @@ -277,7 +277,7 @@ class SkAutoGlyphCache : public std::unique_ptr<SkGlyphCache, SkGlyphCache::Atta public: /** deprecated: use get() */ SkGlyphCache* getCache() const { return this->get(); } - + SkAutoGlyphCache() = default; SkAutoGlyphCache(SkGlyphCache* cache) : INHERITED(cache) {} SkAutoGlyphCache(SkTypeface* typeface, const SkScalerContextEffects& effects, const SkDescriptor* desc) |