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

Unified Diff: media/omx/omx_codec_unittest.cc

Issue 6300001: Clang: enable -Wbool-conversions and -Wunused-variables on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Formatting fix Created 9 years, 11 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
Index: media/omx/omx_codec_unittest.cc
diff --git a/media/omx/omx_codec_unittest.cc b/media/omx/omx_codec_unittest.cc
index 47b1e97102bd13ac973b442edd373aa98e3bdb29..5dbde659e83508cb794e8965616b4530118b96d3 100644
--- a/media/omx/omx_codec_unittest.cc
+++ b/media/omx/omx_codec_unittest.cc
@@ -418,7 +418,7 @@ TEST_F(OmxCodecTest, NormalFlow) {
EXPECT_EQ(kBufferCount - 1, static_cast<int>(input_units_.size()));
EXPECT_EQ(1, static_cast<int>(output_units_.size()));
EXPECT_EQ(count - 1, static_cast<int>(output_pool_.size()));
- EXPECT_EQ(true, got_eos_);
+ EXPECT_TRUE(got_eos_);
// Shutdown.
ExpectStop();
@@ -470,7 +470,7 @@ TEST_F(OmxCodecTest, RecycleInputBuffers) {
EXPECT_EQ(kBufferCount - 1, static_cast<int>(input_units_.size()));
EXPECT_EQ(1, static_cast<int>(output_units_.size()));
EXPECT_EQ(count - 1, static_cast<int>(output_pool_.size()));
- EXPECT_EQ(true, got_eos_);
+ EXPECT_TRUE(got_eos_);
// Shutdown.
ExpectStop();

Powered by Google App Engine
This is Rietveld 408576698