Bug 1521460 - Ride along: remove useless ';' r=mstange
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 21 Jan 2019 18:46:21 +0100
changeset 514913 99f1a193599dd6b000345a72ee19243bb7062342
parent 514912 0e3b5fe32d113a4a857bf7b948921f531cca8a8e
child 514914 347238f5ae0a30eb86909da23b99badd9ad479ca
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1521460
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1521460 - Ride along: remove useless ';' r=mstange Differential Revision: https://phabricator.services.mozilla.com/D17140
widget/cocoa/nsNativeThemeCocoa.mm
--- a/widget/cocoa/nsNativeThemeCocoa.mm
+++ b/widget/cocoa/nsNativeThemeCocoa.mm
@@ -79,17 +79,16 @@ void CUIDraw(CUIRendererRef r, CGRect re
 // NSView) will be called when drawing search fields, and we only provide it in
 // order to prevent "unrecognized selector" exceptions.
 // There's no need to pass the actual NSView that we're drawing into to
 // drawWithFrame:inView:. What's more, doing so even causes unnecessary
 // invalidations as soon as we draw a focusring!
 @interface CellDrawView : NSView
 
 @end
-;
 
 @implementation CellDrawView
 
 - (BOOL)isFlipped {
   return YES;
 }
 
 - (NSText*)currentEditor {
@@ -102,26 +101,26 @@ void CUIDraw(CUIRendererRef r, CGRect re
 // purpose is to make it easy to distinguish NSCell objects that are used for
 // drawing radio buttons / checkboxes from other cell types.
 // The class names are made up, there are no classes with these names in AppKit.
 // The reason we need them is that calling [cell setButtonType:NSRadioButton]
 // doesn't leave an easy-to-check "marker" on the cell object - there is no
 // -[NSButtonCell buttonType] method.
 @interface RadioButtonCell : NSButtonCell
 @end
-;
+
 @implementation RadioButtonCell
 @end
-;
+
 @interface CheckboxCell : NSButtonCell
 @end
-;
+
 @implementation CheckboxCell
 @end
-;
+
 
 static void DrawFocusRingForCellIfNeeded(NSCell* aCell, NSRect aWithFrame, NSView* aInView) {
   if ([aCell showsFirstResponder]) {
     CGContextRef cgContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
     CGContextSaveGState(cgContext);
 
     // It's important to set the focus ring style before we enter the
     // transparency layer so that the transparency layer only contains