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

Unified Diff: ui/views/bubble/bubble_border.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
« no previous file with comments | « ui/gfx/canvas_skia.cc ('k') | ui/views/focus/focus_search.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_border.h
===================================================================
--- ui/views/bubble/bubble_border.h (revision 159076)
+++ ui/views/bubble/bubble_border.h (working copy)
@@ -96,7 +96,7 @@
}
static bool has_arrow(ArrowLocation loc) {
- return loc >= NONE ? false : true;
+ return loc < NONE;
}
static bool is_arrow_on_left(ArrowLocation loc) {
« no previous file with comments | « ui/gfx/canvas_skia.cc ('k') | ui/views/focus/focus_search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698