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

Unified Diff: src/core/SkGlyphCache_Globals.h

Issue 1333003002: Correct a possible free after use. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: move purge code. Created 5 years, 3 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
« src/core/SkGlyphCache.cpp ('K') | « src/core/SkGlyphCache.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGlyphCache_Globals.h
diff --git a/src/core/SkGlyphCache_Globals.h b/src/core/SkGlyphCache_Globals.h
index a0069e143396922198658cd0808ec4fe61bc340a..3736ace414093369623a3a9dcf1f280853f54179 100644
--- a/src/core/SkGlyphCache_Globals.h
+++ b/src/core/SkGlyphCache_Globals.h
@@ -74,7 +74,7 @@ public:
void purgeAll(); // does not change budget
// call when a glyphcache is available for caching (i.e. not in use)
- void attachCacheToHead(SkGlyphCache*);
+ void internalAttachCacheToHead(SkGlyphCache*);
// can only be called when the mutex is already held
void internalMoveToHead(SkGlyphCache *);
« src/core/SkGlyphCache.cpp ('K') | « src/core/SkGlyphCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698