Commit 6dfbb417 authored by bdakin@apple.com's avatar bdakin@apple.com
Browse files

Probable fix for <rdar://problem/9251443> Crashing on exception: -

[ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]: unrecognized 
selector sent to instance ADDRESS.

Reviewed by Simon Fraser.

       Need to implement new delegate method.
* platform/mac/ScrollAnimatorMac.mm:
(-[ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c0295d8f
2011-04-07 Beth Dakin <bdakin@apple.com>
Reviewed by Simon Fraser.
Probable fix for <rdar://problem/9251443> Crashing on exception: -
[ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]: unrecognized
selector sent to instance ADDRESS.
Need to implement new delegate method.
* platform/mac/ScrollAnimatorMac.mm:
(-[ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]):
2011-04-07 Ian Henderson <ianh@apple.com>
 
Reviewed by Simon Fraser.
......@@ -100,6 +100,11 @@ static NSSize abs(NSSize size)
_animator->immediateScrollToPoint(newPosition);
}
- (NSPoint)_pixelAlignProposedScrollPosition:(NSPoint)newOrigin
{
return newOrigin;
}
- (NSSize)convertSizeToBase:(NSSize)size
{
return abs(size);
......
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