| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index c2db12d8bc29a05037ba8dc3090e5c7f3f18da23..8d051b57137a41b41439884c71ff7cef4b8d23af 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -3025,7 +3025,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;
|
| @@ -3036,8 +3036,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);
|
| }
|
| }
|
|
|
|
|