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

Unified Diff: ui/views/focus/focus_search.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 | « ui/views/bubble/bubble_border.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/focus_search.cc
===================================================================
--- ui/views/focus/focus_search.cc (revision 159076)
+++ ui/views/focus/focus_search.cc (working copy)
@@ -51,7 +51,7 @@
if (!reverse) {
v = FindNextFocusableViewImpl(starting_view, check_starting_view,
true,
- (direction == DOWN) ? true : false,
+ (direction == DOWN),
starting_view_group,
focus_traversable,
focus_traversable_view);
« no previous file with comments | « ui/views/bubble/bubble_border.h ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698