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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm

Issue 6132008: Address clang complaint about needed parenthesis on logicals.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm (revision 71059)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm (working copy)
@@ -842,8 +842,8 @@
}
- (CGFloat)determineFinalScrollDelta:(CGFloat)delta {
- if (delta > 0.0 && ![scrollUpArrowView_ isHidden] ||
- delta < 0.0 && ![scrollDownArrowView_ isHidden]) {
+ if ((delta > 0.0 && ![scrollUpArrowView_ isHidden]) ||
+ (delta < 0.0 && ![scrollDownArrowView_ isHidden])) {
NSWindow* window = [self window];
NSRect windowFrame = [window frame];
NSScreen* screen = [window screen];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698