mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
bustage fix, NSRectFromCGRect is 10.5 only.
This commit is contained in:
parent
ac4411f9de
commit
c4314ec0ec
@ -242,7 +242,7 @@ nsNativeThemeCocoa::DrawCellWithScaling(NSCell *cell,
|
||||
{
|
||||
NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
|
||||
|
||||
NSRect drawRect = NSRectFromCGRect(destRect);
|
||||
NSRect drawRect = NSMakeRect(destRect.origin.x, destRect.origin.y, destRect.size.width, destRect.size.height);
|
||||
|
||||
CGAffineTransform savedCTM;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user