[Webkit-unassigned] [Bug 105408] NULL ptr in WebCore::RefCountedPropertyWrapper<WebCore::ClipPathOperation>::blend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 19 02:56:05 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105408





--- Comment #1 from Takashi Sakamoto <tasak at google.com>  2012-12-19 02:58:21 PST ---
CSSPropertyAnimation.cpp:

static inline PassRefPtr<ClipPathOperation> blendFunc(const AnimationBase*, ClipPathOperation* from, ClipPathOperation* to, double progress)
{
    // Other clip-path operations than BasicShapes can not be animated.         
    if (from->getOperationType() != ClipPathOperation::SHAPE || to->getOperationType() != ClipPathOperation::SHAPE)
        return to;
...

Looking at repro.html,

0% {
   // no -webkit-clip-path
   ...
}

100% {
   ...
   -webkit-clip-path: ...
}

Since 0% has no -webkit-clip-path, from would be NULL and from->getOperationType() crashes.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list