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

Unified Diff: src/core/SkGlyphCache.h

Issue 14940018: we only need one fontmetrics, since the paint (and fontcache) now know explicitly (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | src/core/SkGlyphCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGlyphCache.h
===================================================================
--- src/core/SkGlyphCache.h (revision 9053)
+++ src/core/SkGlyphCache.h (working copy)
@@ -95,8 +95,8 @@
/** Return the vertical metrics for this strike.
*/
- const SkPaint::FontMetrics& getFontMetricsY() const {
- return fFontMetricsY;
+ const SkPaint::FontMetrics& getFontMetrics() const {
+ return fFontMetrics;
}
const SkDescriptor& getDescriptor() const { return *fDesc; }
@@ -220,7 +220,7 @@
SkGlyphCache* fNext, *fPrev;
SkDescriptor* fDesc;
SkScalerContext* fScalerContext;
- SkPaint::FontMetrics fFontMetricsY;
+ SkPaint::FontMetrics fFontMetrics;
enum {
kHashBits = 12,
« no previous file with comments | « no previous file | src/core/SkGlyphCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698