| Index: Source/core/css/CSSCrossfadeValue.cpp
|
| diff --git a/Source/core/css/CSSCrossfadeValue.cpp b/Source/core/css/CSSCrossfadeValue.cpp
|
| index 34ce1c1ace7177caa8a96c53e6c3efe08584b8f3..3300ce84b732a07be861ac24dff5b823111d74b4 100644
|
| --- a/Source/core/css/CSSCrossfadeValue.cpp
|
| +++ b/Source/core/css/CSSCrossfadeValue.cpp
|
| @@ -39,12 +39,12 @@ static bool subimageIsPending(CSSValue* value)
|
| {
|
| if (value->isImageValue())
|
| return toCSSImageValue(value)->cachedOrPendingImage()->isPendingImage();
|
| -
|
| +
|
| if (value->isImageGeneratorValue())
|
| return static_cast<CSSImageGeneratorValue*>(value)->isPending();
|
| -
|
| +
|
| ASSERT_NOT_REACHED();
|
| -
|
| +
|
| return false;
|
| }
|
|
|
| @@ -73,15 +73,15 @@ static CachedImage* cachedImageForCSSValue(CSSValue* value, ResourceFetcher* fet
|
|
|
| return styleCachedImage->cachedImage();
|
| }
|
| -
|
| +
|
| if (value->isImageGeneratorValue()) {
|
| static_cast<CSSImageGeneratorValue*>(value)->loadSubimages(fetcher);
|
| // FIXME: Handle CSSImageGeneratorValue (and thus cross-fades with gradients and canvas).
|
| return 0;
|
| }
|
| -
|
| +
|
| ASSERT_NOT_REACHED();
|
| -
|
| +
|
| return 0;
|
| }
|
|
|
|
|