| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 29b4db06fdf6d4fd32fe08c5276991ba52010a8a..d5994d87f383a2499315938a3ab429b1e30b4629 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -3013,7 +3013,7 @@ static bool needsURLResolutionForInlineStyle(const Element& element, const Docum
|
| return false;
|
| for (unsigned i = 0; i < style->propertyCount(); ++i) {
|
| // FIXME: Should handle all URL-based properties: CSSImageSetValue, CSSCursorImageValue, etc.
|
| - if (style->propertyAt(i).value()->isImageValue())
|
| + if (style->propertyAt(i).value().isImageValue())
|
| return true;
|
| }
|
| return false;
|
| @@ -3024,8 +3024,8 @@ static void reResolveURLsInInlineStyle(const Document& document, MutableStylePro
|
| for (unsigned i = 0; i < style.propertyCount(); ++i) {
|
| StylePropertySet::PropertyReference property = style.propertyAt(i);
|
| // FIXME: Should handle all URL-based properties: CSSImageSetValue, CSSCursorImageValue, etc.
|
| - if (property.value()->isImageValue())
|
| - toCSSImageValue(property.value())->reResolveURL(document);
|
| + if (property.value().isImageValue())
|
| + toCSSImageValue(property.value()).reResolveURL(document);
|
| }
|
| }
|
|
|
|
|