| Index: media/capture/video/linux/video_capture_device_chromeos.cc
|
| diff --git a/media/capture/video/linux/video_capture_device_chromeos.cc b/media/capture/video/linux/video_capture_device_chromeos.cc
|
| index 9e8dd19806e7bda97804b58cccbcf28792fab672..09047c718cc6abbdd1a2af55dd652a24979176c4 100644
|
| --- a/media/capture/video/linux/video_capture_device_chromeos.cc
|
| +++ b/media/capture/video/linux/video_capture_device_chromeos.cc
|
| @@ -119,7 +119,7 @@ VideoCaptureDeviceChromeOS::~VideoCaptureDeviceChromeOS() {
|
| void VideoCaptureDeviceChromeOS::SetRotation(int rotation) {
|
| // We assume external camera is facing the users. If not, the users can
|
| // rotate the camera manually by themselves.
|
| - if (lens_facing_ == CameraFacingChromeOS::LensFacing::BACK) {
|
| + if (lens_facing_ == VideoFacingMode::MEDIA_VIDEO_FACING_ENVIRONMENT) {
|
| // Original frame when |rotation| = 0
|
| // -----------------------
|
| // | * |
|
|
|