64-bit Mac OS X fixes for nsObjectFrame.cpp. b=518184 r=roc

This commit is contained in:
Josh Aas
2009-09-22 18:17:41 -04:00
parent 828c2df7dd
commit eaee6268b8
3 changed files with 47 additions and 15 deletions

View File

@@ -42,6 +42,7 @@
#import <Cocoa/Cocoa.h>
#include "nsObjCExceptions.h"
#ifndef __LP64__
void NS_NPAPI_CarbonWindowFrame(WindowRef aWindow, nsRect& outRect)
{
if (!aWindow)
@@ -54,6 +55,7 @@ void NS_NPAPI_CarbonWindowFrame(WindowRef aWindow, nsRect& outRect)
outRect.width = windowRect.right - windowRect.left;
outRect.height = windowRect.bottom - windowRect.top;
}
#endif
void NS_NPAPI_CocoaWindowFrame(void* aWindow, nsRect& outRect)
{