| Index: Source/core/css/CSSImageSetValue.cpp
|
| diff --git a/Source/core/css/CSSImageSetValue.cpp b/Source/core/css/CSSImageSetValue.cpp
|
| index 9619a254461a5dbc3ab4d98c52c6545014a77eee..f29926cba8472920fbd6dbb746283722e4da8a42 100644
|
| --- a/Source/core/css/CSSImageSetValue.cpp
|
| +++ b/Source/core/css/CSSImageSetValue.cpp
|
| @@ -120,7 +120,7 @@ StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(Document* document, float
|
| }
|
| }
|
|
|
| - return (m_imageSet && m_imageSet->isImageResourceSet()) ? toStyleFetchedImageSet(m_imageSet) : 0;
|
| + return (m_imageSet && m_imageSet->isImageResourceSet()) ? toStyleFetchedImageSet(m_imageSet.get()) : 0;
|
| }
|
|
|
| StyleFetchedImageSet* CSSImageSetValue::cachedImageSet(Document* document, float deviceScaleFactor)
|
| @@ -177,15 +177,9 @@ bool CSSImageSetValue::hasFailedOrCanceledSubresources() const
|
| {
|
| if (!m_imageSet || !m_imageSet->isImageResourceSet())
|
| return false;
|
| - if (Resource* cachedResource = toStyleFetchedImageSet(m_imageSet)->cachedImage())
|
| + if (Resource* cachedResource = toStyleFetchedImageSet(m_imageSet.get())->cachedImage())
|
| return cachedResource->loadFailedOrCanceled();
|
| return true;
|
| }
|
|
|
| -DEFINE_TRACE_AFTER_DISPATCH(CSSImageSetValue)
|
| -{
|
| - visitor->trace(m_imageSet);
|
| - CSSValueList::traceAfterDispatch(visitor);
|
| -}
|
| -
|
| } // namespace blink
|
|
|