Cleanup: Replace MessageQueue pointers with Thread pointers.
This is part of a CL series merging rtc::MessageQueue into rtc::Thread. Bug: webrtc:9883 Change-Id: I4a1bcd44c9523b6402b3f05b50597bdc2e6615e3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165345 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30216}
This commit is contained in:
@ -68,10 +68,10 @@ std::unique_ptr<T> TakeOwnershipOfUniquePtr(jlong native_pointer) {
|
||||
|
||||
typedef void (*JavaMethodPointer)(JNIEnv*, const JavaRef<jobject>&);
|
||||
|
||||
// Post a message on the given queue that will call the Java method on the given
|
||||
// Java object.
|
||||
// Post a message on the given thread that will call the Java method on the
|
||||
// given Java object.
|
||||
void PostJavaCallback(JNIEnv* env,
|
||||
rtc::MessageQueue* queue,
|
||||
rtc::Thread* queue,
|
||||
const rtc::Location& posted_from,
|
||||
const JavaRef<jobject>& j_object,
|
||||
JavaMethodPointer java_method_pointer) {
|
||||
|
||||
Reference in New Issue
Block a user