summaryrefslogtreecommitdiff
path: root/platform/android/src/snapshotter/map_snapshotter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/snapshotter/map_snapshotter.hpp')
-rw-r--r--platform/android/src/snapshotter/map_snapshotter.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/android/src/snapshotter/map_snapshotter.hpp b/platform/android/src/snapshotter/map_snapshotter.hpp
index 7b72452c45..05a27256aa 100644
--- a/platform/android/src/snapshotter/map_snapshotter.hpp
+++ b/platform/android/src/snapshotter/map_snapshotter.hpp
@@ -23,8 +23,6 @@ public:
static constexpr auto Name() { return "com/mapbox/mapboxsdk/snapshotter/MapSnapshotter"; };
- static jni::Class<MapSnapshotter> javaClass;
-
static void registerNative(jni::JNIEnv&);
MapSnapshotter(jni::JNIEnv&,
@@ -60,7 +58,7 @@ private:
MBGL_STORE_THREAD(tid);
JavaVM *vm = nullptr;
- GenericUniqueWeakObject<MapSnapshotter> javaPeer;
+ GenericWeak<jni::Object<MapSnapshotter>> javaPeer;
float pixelRatio;
bool showLogo;