Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c8f6ab3

Browse files
herbderbySkia Commit-Bot
authored andcommitted
Remove unneeded inline declarations
Change-Id: I21a3e74ab256d89ab6487e98abd940ff99dd6447 Reviewed-on: https://skia-review.googlesource.com/c/173227 Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Herb Derby <herb@google.com>
1 parent f98d8c9 commit c8f6ab3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/gpu/text/GrGlyphCache.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class GrTextStrike : public SkNVRefCnt<GrTextStrike> {
3131
GrTextStrike(const SkDescriptor& fontScalerKey);
3232
~GrTextStrike();
3333

34-
inline GrGlyph* getGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed,
35-
SkGlyphCache* cache) {
34+
GrGlyph* getGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed,
35+
SkGlyphCache* cache) {
3636
GrGlyph* glyph = fCache.find(packed);
3737
if (!glyph) {
3838
glyph = this->generateGlyph(skGlyph, packed, cache);
@@ -44,9 +44,9 @@ class GrTextStrike : public SkNVRefCnt<GrTextStrike> {
4444
// that the maskformat of the glyph differs from what we expect. In these cases we will just
4545
// draw a clear square.
4646
// skbug:4143 crbug:510931
47-
inline GrGlyph* getGlyph(GrGlyph::PackedID packed,
48-
GrMaskFormat expectedMaskFormat,
49-
SkGlyphCache* cache) {
47+
GrGlyph* getGlyph(GrGlyph::PackedID packed,
48+
GrMaskFormat expectedMaskFormat,
49+
SkGlyphCache* cache) {
5050
GrGlyph* glyph = fCache.find(packed);
5151
if (!glyph) {
5252
// We could return this to the caller, but in practice it adds code complexity for
@@ -118,7 +118,7 @@ class GrGlyphCache {
118118
// another client of the cache may cause the strike to be purged while it is still reffed.
119119
// Therefore, the caller must check GrTextStrike::isAbandoned() if there are other
120120
// interactions with the cache since the strike was received.
121-
inline sk_sp<GrTextStrike> getStrike(const SkGlyphCache* cache) {
121+
sk_sp<GrTextStrike> getStrike(const SkGlyphCache* cache) {
122122
sk_sp<GrTextStrike> strike = sk_ref_sp(fCache.find(cache->getDescriptor()));
123123
if (!strike) {
124124
strike = this->generateStrike(cache);

0 commit comments

Comments
 (0)