diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog index 93c4c9a2b15d8d9b7087ef89ce2f7fd81f077cb2..5bd9ff502f5f3ed543815a8570fc9effc9d785a7 100644 --- a/WebKit/mac/ChangeLog +++ b/WebKit/mac/ChangeLog @@ -1,3 +1,11 @@ +2011-01-07 Jer Noble + + Yet another Leopard build fix: NSRect and CGRect are not inter- + changable in 32-bit. + + * WebView/WebFullScreenController.mm: + (-[WebFullScreenController exitFullscreen]): + 2011-01-07 Jer Noble Fix the Leopard build: Replace CoreAnimation SL-only functions diff --git a/WebKit/mac/WebView/WebFullScreenController.mm b/WebKit/mac/WebView/WebFullScreenController.mm index 0cb9fb9ad12ce12968e78fbe59f82cb856f3c5bd..a958e90801022dd0cece2f8552f15ef8a518befd 100644 --- a/WebKit/mac/WebView/WebFullScreenController.mm +++ b/WebKit/mac/WebView/WebFullScreenController.mm @@ -550,7 +550,7 @@ private: } NSView* animationView = [[self _fullscreenWindow] animationView]; - CGRect layerEndFrame = NSRectToCGRect([animationView convertRect:_initialFrame fromView:nil]); + CGRect layerEndFrame = NSRectToCGRect([animationView convertRect:NSRectFromCGRect(_initialFrame) fromView:nil]); // The _renderer might be NULL due to its ancestor being removed: CGRect layerStartFrame = CGRectZero;