Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1227)

Unified Diff: media/midi/midi_input_port_android.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/midi/midi_device_android.cc ('k') | media/midi/midi_manager_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_input_port_android.cc
diff --git a/media/midi/midi_input_port_android.cc b/media/midi/midi_input_port_android.cc
index 3389c0241530930fcc6d14f80c804b2584b37214..59b355ae1d638e993e2ad20cef7c839685530419 100644
--- a/media/midi/midi_input_port_android.cc
+++ b/media/midi/midi_input_port_android.cc
@@ -24,13 +24,13 @@ MidiInputPortAndroid::~MidiInputPortAndroid() {
bool MidiInputPortAndroid::Open() {
JNIEnv* env = base::android::AttachCurrentThread();
- return Java_MidiInputPortAndroid_open(env, raw_port_.obj(),
+ return Java_MidiInputPortAndroid_open(env, raw_port_,
reinterpret_cast<jlong>(this));
}
void MidiInputPortAndroid::Close() {
JNIEnv* env = base::android::AttachCurrentThread();
- Java_MidiInputPortAndroid_close(env, raw_port_.obj());
+ Java_MidiInputPortAndroid_close(env, raw_port_);
}
void MidiInputPortAndroid::OnData(JNIEnv* env,
« no previous file with comments | « media/midi/midi_device_android.cc ('k') | media/midi/midi_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698