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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h

Issue 2411643002: Make HarfBuzzFace release SimpleFontData. (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
index c2575b43db207a58b2e89e641f5d6b3d7c9c7d7a..98021356f79e9b02473aff66d4512dd0abcfc086 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h
@@ -70,6 +70,7 @@ class HarfBuzzFace : public RefCounted<HarfBuzzFace> {
FontPlatformData* m_platformData;
uint64_t m_uniqueID;
+ mutable class SimpleFontData* m_simpleFontData;
drott 2016/10/11 11:40:44 Because of the way the caching works in this class
hb_font_t* m_unscaledFont;
HarfBuzzFontData* m_harfBuzzFontData;
};

Powered by Google App Engine
This is Rietveld 408576698