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

Unified Diff: media/capture/video/android/video_capture_device_android.cc

Issue 2301043006: Image Capture: wire RedEyeReduction getter (Closed)
Patch Set: Created 4 years, 3 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
Index: media/capture/video/android/video_capture_device_android.cc
diff --git a/media/capture/video/android/video_capture_device_android.cc b/media/capture/video/android/video_capture_device_android.cc
index 58cc5fe1628dad89a95775e3f0f23d5180f64865..9d20d058b2b18fa978996d8e76aa5dfcbbe0379f 100644
--- a/media/capture/video/android/video_capture_device_android.cc
+++ b/media/capture/video/android/video_capture_device_android.cc
@@ -522,6 +522,7 @@ void VideoCaptureDeviceAndroid::DoGetPhotoCapabilities(
ToMojomMeteringMode(caps.getWhiteBalanceMode());
photo_capabilities->fill_light_mode =
ToMojomFillLightMode(caps.getFillLightMode());
+ photo_capabilities->red_eye_reduction = caps.getRedEyeReduction();
callback.Run(std::move(photo_capabilities));
}

Powered by Google App Engine
This is Rietveld 408576698