use SkFontMetrics so we can deprecated the typedef

Bug: skia:
Change-Id: Icd40c042b0a8251bbd0b39dd3ee1a4634fff379f
Reviewed-on: https://skia-review.googlesource.com/c/170344
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/gm/scaledemoji.cpp b/gm/scaledemoji.cpp
index a639b01..6bae281 100644
--- a/gm/scaledemoji.cpp
+++ b/gm/scaledemoji.cpp
@@ -50,7 +50,7 @@
         // draw text at different point sizes
         // Testing GPU bitmap path, SDF path with no scaling,
         // SDF path with scaling, path rendering with scaling
-        SkPaint::FontMetrics metrics;
+        SkFontMetrics metrics;
         SkScalar y = 0;
         for (SkScalar textSize : { 70, 180, 270, 340 }) {
             paint.setTextSize(textSize);
@@ -100,7 +100,7 @@
         // draw text at different point sizes
         // Testing GPU bitmap path, SDF path with no scaling,
         // SDF path with scaling, path rendering with scaling
-        SkPaint::FontMetrics metrics;
+        SkFontMetrics metrics;
         SkScalar y = 0;
         for (SkScalar textSize : { 70, 180, 270, 340 }) {
             paint.setTextSize(textSize);