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

Unified Diff: ui/gfx/video_decode_acceleration_support_mac_unittest.mm

Issue 10388108: Implement media::VideoDecodeAccelerator on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix cros build Created 8 years, 7 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 | « ui/gfx/video_decode_acceleration_support_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « ui/gfx/video_decode_acceleration_support_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698