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

Unified Diff: media/capture/content/android/screen_capture_machine_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/base/android/sdk_media_codec_bridge.cc ('k') | media/capture/video/android/photo_capabilities.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/content/android/screen_capture_machine_android.cc
diff --git a/media/capture/content/android/screen_capture_machine_android.cc b/media/capture/content/android/screen_capture_machine_android.cc
index df57fa2871f37c1a19973b416ad5eb7a235295c1..f3b2ee90970949b4efd9156143c4c424757d8f7d 100644
--- a/media/capture/content/android/screen_capture_machine_android.cc
+++ b/media/capture/content/android/screen_capture_machine_android.cc
@@ -220,7 +220,7 @@ void ScreenCaptureMachineAndroid::Start(
DCHECK(!(params.requested_format.frame_size.height() % 2));
const jboolean ret = Java_ScreenCapture_startPrompt(
- AttachCurrentThread(), j_capture_.obj(),
+ AttachCurrentThread(), j_capture_,
params.requested_format.frame_size.width(),
params.requested_format.frame_size.height());
@@ -228,7 +228,7 @@ void ScreenCaptureMachineAndroid::Start(
}
void ScreenCaptureMachineAndroid::Stop(const base::Closure& callback) {
- Java_ScreenCapture_stopCapture(AttachCurrentThread(), j_capture_.obj());
+ Java_ScreenCapture_stopCapture(AttachCurrentThread(), j_capture_);
callback.Run();
}
« no previous file with comments | « media/base/android/sdk_media_codec_bridge.cc ('k') | media/capture/video/android/photo_capabilities.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698