CSSFilterImageValue constructor should require both image and filter.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2013 10:32:05 +0000 (10:32 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Dec 2013 10:32:05 +0000 (10:32 +0000)
commitdd0a4ab86a6f30277bc2101ea824d22fe3caa10d
tree57e34222a8747272950725454ada41ccc604dcd2
parent6ca159ea631a317e8928c0f68b02552d76f1cc3a
CSSFilterImageValue constructor should require both image and filter.
<https://webkit.org/b/125056>

Make the CSSFilterImageValue::create() helper take both the image and
filter CSSValues by PassRef since they should never be null.

Tweaked ComputedStyleExtractor::valueForFilter() to return a PassRef
for this to work.

Reviewed by Anders Carlsson.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Source/WebCore/css/CSSComputedStyleDeclaration.h
Source/WebCore/css/CSSFilterImageValue.h
Source/WebCore/css/CSSParser.cpp
Source/WebCore/page/animation/CSSPropertyAnimation.cpp