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

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

Issue 1192223002: Optimize Complex Text Shaping and Caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change CachingWordShaperTest as suggested Created 5 years, 5 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: Source/platform/fonts/shaping/HarfBuzzFace.h
diff --git a/Source/platform/fonts/shaping/HarfBuzzFace.h b/Source/platform/fonts/shaping/HarfBuzzFace.h
index 51cde8709e78123c1b5c33d5f6e01eb8979a9f3a..43cec97d954aaded3a4173456980eeb97dfa4a15 100644
--- a/Source/platform/fonts/shaping/HarfBuzzFace.h
+++ b/Source/platform/fonts/shaping/HarfBuzzFace.h
@@ -53,7 +53,8 @@ public:
}
~HarfBuzzFace();
- hb_font_t* createFont();
+ hb_font_t* createFont() const;
+ hb_face_t* face() const { return m_face; }
void setScriptForVerticalGlyphSubstitution(hb_buffer_t*);
« no previous file with comments | « Source/platform/fonts/shaping/CachingWordShaperTest.cpp ('k') | Source/platform/fonts/shaping/HarfBuzzFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698