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

Unified Diff: chrome/browser/ui/cocoa/draggable_button.mm

Issue 7623024: [Mac] Placate the stupid compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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: chrome/browser/ui/cocoa/draggable_button.mm
diff --git a/chrome/browser/ui/cocoa/draggable_button.mm b/chrome/browser/ui/cocoa/draggable_button.mm
index 5654d58a04b8c79d821b251a3c955fd2a6b7cd21..91e8ef266f59d6ac9ac49819564edc756dea1816 100644
--- a/chrome/browser/ui/cocoa/draggable_button.mm
+++ b/chrome/browser/ui/cocoa/draggable_button.mm
@@ -29,12 +29,14 @@
}
- (void)mouseUp:(NSEvent*)theEvent {
- if ([draggableButtonImpl_ mouseUp:theEvent] == kDraggableButtonMixinCallSuper)
+ if ([draggableButtonImpl_ mouseUpImpl:theEvent] ==
+ kDraggableButtonMixinCallSuper) {
[super mouseUp:theEvent];
+ }
}
- (void)mouseDown:(NSEvent*)theEvent {
- if ([draggableButtonImpl_ mouseDown:theEvent] ==
+ if ([draggableButtonImpl_ mouseDownImpl:theEvent] ==
kDraggableButtonMixinCallSuper) {
[super mouseDown:theEvent];
}
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_item_button.mm ('k') | chrome/browser/ui/cocoa/draggable_button_mixin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698