Remove getGlyphIDMatrics type calls.

Converting to glyph() style calls that return SkGlyph*. This is mainly preparation
for removing converting findImage(const SkGlyph&) to prepareImage(SkGlyph*).

+ Misc cleanups mainly fWidth -> width() type things.

Change-Id: Id5c9b0ba5856b3ea54353ece4d05fa495cc5a640
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/223187
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
diff --git a/bench/SkGlyphCacheBench.cpp b/bench/SkGlyphCacheBench.cpp
index 66b3a66..d26e946 100644
--- a/bench/SkGlyphCacheBench.cpp
+++ b/bench/SkGlyphCacheBench.cpp
@@ -31,11 +31,10 @@
         }
         for (int lookups = 0; lookups < 10; lookups++) {
             for (int c = ' '; c < 'z'; c++) {
-                const SkGlyph& g = cache->getGlyphIDMetrics(glyphs[c]);
-                cache->findImage(g);
+                SkGlyph* g = cache->glyph(glyphs[c]);
+                cache->findImage(*g);
             }
         }
-
     }
 }