summaryrefslogtreecommitdiff
path: root/platform/android/src/text/local_glyph_rasterizer_jni.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/text/local_glyph_rasterizer_jni.hpp')
-rw-r--r--platform/android/src/text/local_glyph_rasterizer_jni.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/android/src/text/local_glyph_rasterizer_jni.hpp b/platform/android/src/text/local_glyph_rasterizer_jni.hpp
index 1c83ea5f58..e80e848338 100644
--- a/platform/android/src/text/local_glyph_rasterizer_jni.hpp
+++ b/platform/android/src/text/local_glyph_rasterizer_jni.hpp
@@ -19,8 +19,6 @@ class LocalGlyphRasterizer {
public:
static constexpr auto Name() { return "com/mapbox/mapboxsdk/text/LocalGlyphRasterizer"; };
- static jni::Class<LocalGlyphRasterizer> javaClass;
-
static void registerNative(jni::JNIEnv&);
LocalGlyphRasterizer();
@@ -28,7 +26,7 @@ public:
PremultipliedImage drawGlyphBitmap(const std::string& fontFamily, const bool bold, const char16_t glyphID);
private:
- jni::UniqueObject<LocalGlyphRasterizer> javaObject;
+ jni::Global<jni::Object<LocalGlyphRasterizer>> javaObject;
};
} // namespace android