Backed out changeset 3f8cf0d3f2c2 (bug 1286663)

This commit is contained in:
Carsten "Tomcat" Book 2016-07-21 08:04:53 +02:00
Родитель 27ff1866d4
Коммит b79cd94740
3 изменённых файлов: 0 добавлений и 36 удалений

Просмотреть файл

@ -326,21 +326,6 @@ const JNINativeMethod PrefsHelper::Natives<Impl>::methods[] = {
::template Wrap<&Impl::SetPref>) ::template Wrap<&Impl::SetPref>)
}; };
template<class Impl>
class ThumbnailHelper::Natives : public mozilla::jni::NativeImpl<ThumbnailHelper, Impl>
{
public:
static const JNINativeMethod methods[1];
};
template<class Impl>
const JNINativeMethod ThumbnailHelper::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<ThumbnailHelper::RequestThumbnail_t>(
mozilla::jni::NativeStub<ThumbnailHelper::RequestThumbnail_t, Impl>
::template Wrap<&Impl::RequestThumbnail>)
};
template<class Impl> template<class Impl>
class GLController::Natives : public mozilla::jni::NativeImpl<GLController, Impl> class GLController::Natives : public mozilla::jni::NativeImpl<GLController, Impl>
{ {

Просмотреть файл

@ -1183,9 +1183,6 @@ auto ThumbnailHelper::SendThumbnail(mozilla::jni::ByteBuffer::Param a0, int32_t
return mozilla::jni::Method<SendThumbnail_t>::Call(ThumbnailHelper::Context(), nullptr, a0, a1, a2, a3); return mozilla::jni::Method<SendThumbnail_t>::Call(ThumbnailHelper::Context(), nullptr, a0, a1, a2, a3);
} }
constexpr char ThumbnailHelper::RequestThumbnail_t::name[];
constexpr char ThumbnailHelper::RequestThumbnail_t::signature[];
const char Distribution::name[] = const char Distribution::name[] =
"org/mozilla/gecko/distribution/Distribution"; "org/mozilla/gecko/distribution/Distribution";

Просмотреть файл

@ -2969,26 +2969,8 @@ public:
static auto SendThumbnail(mozilla::jni::ByteBuffer::Param, int32_t, bool, bool) -> void; 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; static const bool isMultithreaded = false;
template<class Impl> class Natives;
}; };
class Distribution : public mozilla::jni::ObjectBase<Distribution, jobject> class Distribution : public mozilla::jni::ObjectBase<Distribution, jobject>