From b79cd94740adbb5df43836ae4879a03fa9e223a4 Mon Sep 17 00:00:00 2001 From: "Carsten \"Tomcat\" Book" Date: Thu, 21 Jul 2016 08:04:53 +0200 Subject: [PATCH] Backed out changeset 3f8cf0d3f2c2 (bug 1286663) --- widget/android/GeneratedJNINatives.h | 15 --------------- widget/android/GeneratedJNIWrappers.cpp | 3 --- widget/android/GeneratedJNIWrappers.h | 18 ------------------ 3 files changed, 36 deletions(-) diff --git a/widget/android/GeneratedJNINatives.h b/widget/android/GeneratedJNINatives.h index b993990ee905..e306f8d85dc4 100644 --- a/widget/android/GeneratedJNINatives.h +++ b/widget/android/GeneratedJNINatives.h @@ -326,21 +326,6 @@ const JNINativeMethod PrefsHelper::Natives::methods[] = { ::template Wrap<&Impl::SetPref>) }; -template -class ThumbnailHelper::Natives : public mozilla::jni::NativeImpl -{ -public: - static const JNINativeMethod methods[1]; -}; - -template -const JNINativeMethod ThumbnailHelper::Natives::methods[] = { - - mozilla::jni::MakeNativeMethod( - mozilla::jni::NativeStub - ::template Wrap<&Impl::RequestThumbnail>) -}; - template class GLController::Natives : public mozilla::jni::NativeImpl { diff --git a/widget/android/GeneratedJNIWrappers.cpp b/widget/android/GeneratedJNIWrappers.cpp index 50d4c4a907de..e01e20f49348 100644 --- a/widget/android/GeneratedJNIWrappers.cpp +++ b/widget/android/GeneratedJNIWrappers.cpp @@ -1183,9 +1183,6 @@ auto ThumbnailHelper::SendThumbnail(mozilla::jni::ByteBuffer::Param a0, int32_t return mozilla::jni::Method::Call(ThumbnailHelper::Context(), nullptr, a0, a1, a2, a3); } -constexpr char ThumbnailHelper::RequestThumbnail_t::name[]; -constexpr char ThumbnailHelper::RequestThumbnail_t::signature[]; - const char Distribution::name[] = "org/mozilla/gecko/distribution/Distribution"; diff --git a/widget/android/GeneratedJNIWrappers.h b/widget/android/GeneratedJNIWrappers.h index 1584571cd14f..d80e454f431c 100644 --- a/widget/android/GeneratedJNIWrappers.h +++ b/widget/android/GeneratedJNIWrappers.h @@ -2969,26 +2969,8 @@ public: static auto SendThumbnail(mozilla::jni::ByteBuffer::Param, int32_t, bool, bool) -> void; - struct RequestThumbnail_t { - typedef ThumbnailHelper Owner; - typedef void ReturnType; - typedef void SetterType; - typedef mozilla::jni::Args< - mozilla::jni::ByteBuffer::Param, - int32_t, - int32_t, - int32_t> Args; - static constexpr char name[] = "requestThumbnail"; - static constexpr char signature[] = - "(Ljava/nio/ByteBuffer;III)V"; - static const bool isStatic = true; - static const mozilla::jni::ExceptionMode exceptionMode = - mozilla::jni::ExceptionMode::ABORT; - }; - static const bool isMultithreaded = false; - template class Natives; }; class Distribution : public mozilla::jni::ObjectBase