Commit 18517db0 authored by bdakin@apple.com's avatar bdakin@apple.com

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: svn://svn.chromium.org/blink/trunk@83254 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2c65ff99
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> 2011-04-07 Ian Henderson <ianh@apple.com>
Reviewed by Simon Fraser. Reviewed by Simon Fraser.
...@@ -100,6 +100,11 @@ static NSSize abs(NSSize size) ...@@ -100,6 +100,11 @@ static NSSize abs(NSSize size)
_animator->immediateScrollToPoint(newPosition); _animator->immediateScrollToPoint(newPosition);
} }
- (NSPoint)_pixelAlignProposedScrollPosition:(NSPoint)newOrigin
{
return newOrigin;
}
- (NSSize)convertSizeToBase:(NSSize)size - (NSSize)convertSizeToBase:(NSSize)size
{ {
return abs(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