Bug 648873 - use NS_STDCALL_FUNCPROTO; r=bzbarsky
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Thu, 14 Apr 2011 15:54:58 -0400
changeset 68175 17e83dd4fc1f63ef87def58fcab3c24f5cd63062
parent 68174 59111031d49a2d8ab9236251f9ddeb0a6f19c308
child 68176 53339e6932c32565e700bc0eb675d133c18cc265
push id19528
push usereakhgari@mozilla.com
push dateFri, 15 Apr 2011 13:35:33 +0000
treeherdermozilla-central@754e793c647e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs648873
milestone6.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 648873 - use NS_STDCALL_FUNCPROTO; r=bzbarsky
widget/src/cocoa/nsMenuItemIconX.mm
--- a/widget/src/cocoa/nsMenuItemIconX.mm
+++ b/widget/src/cocoa/nsMenuItemIconX.mm
@@ -70,17 +70,18 @@ static const PRUint32 kIconWidth = 16;
 static const PRUint32 kIconHeight = 16;
 static const PRUint32 kIconBitsPerComponent = 8;
 static const PRUint32 kIconComponents = 4;
 static const PRUint32 kIconBitsPerPixel = kIconBitsPerComponent *
                                           kIconComponents;
 static const PRUint32 kIconBytesPerRow = kIconWidth * kIconBitsPerPixel / 8;
 static const PRUint32 kIconBytes = kIconBytesPerRow * kIconHeight;
 
-typedef nsresult (nsIDOMRect::*GetRectSideMethod)(nsIDOMCSSPrimitiveValue**);
+typedef NS_STDCALL_FUNCPROTO(nsresult, GetRectSideMethod, nsIDOMRect,
+                             GetBottom, (nsIDOMCSSPrimitiveValue**));
 
 NS_IMPL_ISUPPORTS2(nsMenuItemIconX, imgIContainerObserver, imgIDecoderObserver)
 
 nsMenuItemIconX::nsMenuItemIconX(nsMenuObjectX* aMenuItem,
                                  nsIContent*    aContent,
                                  NSMenuItem*    aNativeMenuItem)
 : mContent(aContent)
 , mMenuObject(aMenuItem)