diff options
author | 2014-07-11 19:45:16 -0700 | |
---|---|---|
committer | 2014-07-11 19:45:16 -0700 | |
commit | 733f5f5dbca10fc6385ec3c77b3e9ff78227dac7 (patch) | |
tree | d9ffdb538bf85fa2d56e977d5081e32e7f4f3ee7 /src/gpu/GrTextStrike_impl.h | |
parent | 93de7a27e05004e1ff3171b43d89d36890f9f868 (diff) |
Refactor SkGrFontScaler and SkGrFontKey into non-virtual versions.
This is a pre-cleanup for another change, but has the side benefit of making
the code simpler in general.
No perf increase, despite removing virtual functions.
R=bsalomon@google.com, egdaniel@google.com
Author: jvanverth@google.com
Review URL: https://codereview.chromium.org/385263002
Diffstat (limited to 'src/gpu/GrTextStrike_impl.h')
-rw-r--r-- | src/gpu/GrTextStrike_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrTextStrike_impl.h b/src/gpu/GrTextStrike_impl.h index dcfc04aaae..1dd623d24c 100644 --- a/src/gpu/GrTextStrike_impl.h +++ b/src/gpu/GrTextStrike_impl.h @@ -13,7 +13,7 @@ class GrFontCache::Key { public: - explicit Key(const GrKey* fontScalarKey) { + explicit Key(const GrFontDescKey* fontScalarKey) { fFontScalerKey = fontScalarKey; } @@ -27,7 +27,7 @@ public: } private: - const GrKey* fFontScalerKey; + const GrFontDescKey* fFontScalerKey; }; void GrFontCache::detachStrikeFromList(GrTextStrike* strike) { |