| Index: ui/gfx/video_decode_acceleration_support_mac_unittest.mm
|
| diff --git a/ui/gfx/video_decode_acceleration_support_mac_unittest.mm b/ui/gfx/video_decode_acceleration_support_mac_unittest.mm
|
| index 369ce45cce0c4e751a48c65ea319fc0c0e81f982..fa73b8367b0ba6c93adfda1e14adac73ef0a3229 100644
|
| --- a/ui/gfx/video_decode_acceleration_support_mac_unittest.mm
|
| +++ b/ui/gfx/video_decode_acceleration_support_mac_unittest.mm
|
| @@ -81,21 +81,21 @@ TEST_F(VideoDecodeAccelerationSupportTest, Create) {
|
|
|
| // We should get an error loading the framework on 10.6.2 and earlier.
|
| if (!OSShouldHaveFramework()) {
|
| - EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::VDA_LOAD_FRAMEWORK_ERROR,
|
| + EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::LOAD_FRAMEWORK_ERROR,
|
| status);
|
| return;
|
| }
|
|
|
| // If the hardware is not supported then there's not much we can do.
|
| if (status ==
|
| - gfx::VideoDecodeAccelerationSupport::VDA_HARDWARE_NOT_SUPPORTED_ERROR) {
|
| + gfx::VideoDecodeAccelerationSupport::HARDWARE_NOT_SUPPORTED_ERROR) {
|
| return;
|
| }
|
|
|
| - EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::VDA_SUCCESS, status);
|
| - EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::VDA_SUCCESS,
|
| + EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::SUCCESS, status);
|
| + EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::SUCCESS,
|
| vda->Flush(false));
|
| - EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::VDA_SUCCESS, vda->Destroy());
|
| + EXPECT_EQ(gfx::VideoDecodeAccelerationSupport::SUCCESS, vda->Destroy());
|
| }
|
|
|
| // Test that callback works.
|
|
|