Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index fc38c794e94278e4516a9883ffa4d8068317b190..c3faafd5b894f3f8dc9e509a2b3297767decadcf 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -3265,7 +3265,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; |
@@ -3276,8 +3276,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); |
} |
} |