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

Unified Diff: media/tools/player_wtl/mainfrm.h

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
Index: media/tools/player_wtl/mainfrm.h
===================================================================
--- media/tools/player_wtl/mainfrm.h (revision 159076)
+++ media/tools/player_wtl/mainfrm.h (working copy)
@@ -63,7 +63,7 @@
virtual BOOL OnIdle() {
BOOL bEnable = !m_view.bmp_.IsNull();
- BOOL bMovieOpen = media::Movie::GetInstance()->IsOpen() ? true : false;
+ BOOL bMovieOpen = media::Movie::GetInstance()->IsOpen();
float current_position = media::Movie::GetInstance()->GetPosition();
float duration = media::Movie::GetInstance()->GetDuration();
« no previous file with comments | « media/audio/cross_process_notification_unittest.cc ('k') | media/video/capture/win/video_capture_device_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698