diff --git a/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/Canvas.java b/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/Canvas.java index ced3d4c4c0..3dd13e5d74 100644 --- a/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/Canvas.java +++ b/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/Canvas.java @@ -139,7 +139,7 @@ public class Canvas { * @param paint blend, color, and so on, used to draw */ public void drawGlyphs(char[] glyphs, float[] positions, float xOrigin, float yOrigin, - ToyFont font, Paint paint) { + Font font, Paint paint) { if (glyphs.length * 2 == positions.length) { nDrawGlyphs(mNativeInstance, glyphs, positions, xOrigin, yOrigin, font.getNativeInstance(), paint.getNativeInstance()); diff --git a/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/FontChain.java b/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/FontChain.java index bd0362712d..9e332555cf 100644 --- a/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/FontChain.java +++ b/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/FontChain.java @@ -21,7 +21,7 @@ public abstract class FontChain { } abstract int count(); - abstract long getAt(); + abstract long getAt(int i); abstract float fontSize(); abstract String locale();