summaryrefslogtreecommitdiffstats
path: root/media/video/capture/screen
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 18:37:49 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 18:37:49 +0000
commitd593ace5621589a56970770dc4db32dc6e2a9633 (patch)
tree38be911c3a4251d2e62396ac4db618baa79f049e /media/video/capture/screen
parent6be31d20e5c3727f136b8dfe06cd7f27ebf898bb (diff)
downloadchromium_src-d593ace5621589a56970770dc4db32dc6e2a9633.zip
chromium_src-d593ace5621589a56970770dc4db32dc6e2a9633.tar.gz
chromium_src-d593ace5621589a56970770dc4db32dc6e2a9633.tar.bz2
Workaround gcc 4.6 bug - don't use EXPECT_EQ(false, ..)
BUG=173570 Review URL: https://codereview.chromium.org/12092103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video/capture/screen')
-rw-r--r--media/video/capture/screen/screen_capture_device_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/video/capture/screen/screen_capture_device_unittest.cc b/media/video/capture/screen/screen_capture_device_unittest.cc
index 31001a0..d28e8c9 100644
--- a/media/video/capture/screen/screen_capture_device_unittest.cc
+++ b/media/video/capture/screen/screen_capture_device_unittest.cc
@@ -118,7 +118,7 @@ TEST_F(ScreenCaptureDeviceTest, Capture) {
EXPECT_GT(caps.height, 0);
EXPECT_EQ(kFrameRate, caps.frame_rate);
EXPECT_EQ(VideoCaptureCapability::kARGB, caps.color);
- EXPECT_EQ(false, caps.interlaced);
+ EXPECT_FALSE(caps.interlaced);
EXPECT_EQ(caps.width * caps.height * 4, frame_size);
}
@@ -160,7 +160,7 @@ TEST_F(ScreenCaptureDeviceTest, ScreenResolutionChange) {
EXPECT_EQ(kTestFrameHeight1, caps.height);
EXPECT_EQ(kFrameRate, caps.frame_rate);
EXPECT_EQ(VideoCaptureCapability::kARGB, caps.color);
- EXPECT_EQ(false, caps.interlaced);
+ EXPECT_FALSE(caps.interlaced);
EXPECT_EQ(caps.width * caps.height * 4, frame_size);
}