Commit bf7656ce authored by jer.noble@apple.com's avatar jer.noble@apple.com

Yet another Leopard build fix: NSRect and CGRect are not inter-

changable in 32-bit.

* WebView/WebFullScreenController.mm:
(-[WebFullScreenController exitFullscreen]):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 54439938
2011-01-07 Jer Noble <jer.noble@apple.com>
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 <jer.noble@apple.com> 2011-01-07 Jer Noble <jer.noble@apple.com>
Fix the Leopard build: Replace CoreAnimation SL-only functions Fix the Leopard build: Replace CoreAnimation SL-only functions
......
...@@ -550,7 +550,7 @@ private: ...@@ -550,7 +550,7 @@ private:
} }
NSView* animationView = [[self _fullscreenWindow] animationView]; 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: // The _renderer might be NULL due to its ancestor being removed:
CGRect layerStartFrame = CGRectZero; CGRect layerStartFrame = CGRectZero;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment