Index: media/capture/video/linux/camera_facing_chromeos_unittest.cc |
diff --git a/media/capture/video/linux/camera_facing_chromeos_unittest.cc b/media/capture/video/linux/camera_facing_chromeos_unittest.cc |
index 05928104d67a374bc97406d6069e0c89d8aac4b8..78e50e4be3cb8b4637f544f1c44f60b302f5fc8e 100644 |
--- a/media/capture/video/linux/camera_facing_chromeos_unittest.cc |
+++ b/media/capture/video/linux/camera_facing_chromeos_unittest.cc |
@@ -26,14 +26,14 @@ TEST(CameraFacingChromeOSTest, ParseSuccessfully) { |
std::string file_name_str(file_name); |
CameraFacingChromeOS camera_facing(file_name_str); |
- EXPECT_EQ(CameraFacingChromeOS::LensFacing::BACK, |
+ EXPECT_EQ(VideoFacingMode::MEDIA_VIDEO_FACING_ENVIRONMENT, |
camera_facing.GetCameraFacing(std::string("/dev/video2"), |
std::string("04f2:b53a"))); |
} |
TEST(CameraFacingChromeOSTest, ConfigFileNotExist) { |
CameraFacingChromeOS camera_facing(std::string("file_not_exist")); |
- EXPECT_EQ(CameraFacingChromeOS::LensFacing::FRONT, |
+ EXPECT_EQ(VideoFacingMode::MEDIA_VIDEO_FACING_NONE, |
camera_facing.GetCameraFacing(std::string("/dev/video2"), |
std::string("04f2:b53a"))); |
} |