[chromium] Add null pointer check to animatePageScale
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Apr 2012 03:02:00 +0000 (03:02 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Apr 2012 03:02:00 +0000 (03:02 +0000)
commitb4ea9879429f873b64f03343db208d6cadd7258e
treea61f602605fee9364004cc3fcdb6b35ebb2fe442
parent9f24a7c9eed02f5db18c1e3de858fb607365f81d
[chromium] Add null pointer check to animatePageScale
https://bugs.webkit.org/show_bug.cgi?id=83940

Patch by Alexandre Elias <aelias@google.com> on 2012-04-13
Reviewed by James Robinson.

Add null pointer check to startPageScaleAnimation.

If the root scroll layer goes away in the middle of a page scale
animation, there can be a null pointer access here.

No new tests.

* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::animatePageScale):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp