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

Unified Diff: media/audio/cross_process_notification_unittest.cc

Issue 10939010: Cleanup: avoid foo ? true : false, part 1. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 3 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 | « gpu/demos/framework/pepper.cc ('k') | media/tools/player_wtl/mainfrm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/cross_process_notification_unittest.cc
===================================================================
--- media/audio/cross_process_notification_unittest.cc (revision 159076)
+++ media/audio/cross_process_notification_unittest.cc (working copy)
@@ -133,7 +133,7 @@
FlagArray() : flags_() {}
bool is_set(size_t index) const {
- return (flags_[index >> 5] & (1 << (index & 31))) ? true : false;
+ return (flags_[index >> 5] & (1 << (index & 31)));
}
void set(size_t index) {
« no previous file with comments | « gpu/demos/framework/pepper.cc ('k') | media/tools/player_wtl/mainfrm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698