Index: Source/core/page/PageSerializer.cpp |
diff --git a/Source/core/page/PageSerializer.cpp b/Source/core/page/PageSerializer.cpp |
index 7eb82d720910dfca8583ce666165bcb3749c72ba..6428801a65fd6cb0f0b43dea49ca1c11cdbe5f95 100644 |
--- a/Source/core/page/PageSerializer.cpp |
+++ b/Source/core/page/PageSerializer.cpp |
@@ -230,7 +230,7 @@ void PageSerializer::serializeFrame(LocalFrame* frame) |
addImageToResources(cachedImage, imageElement.renderer(), url); |
} else if (isHTMLInputElement(element)) { |
HTMLInputElement& inputElement = toHTMLInputElement(element); |
- if (inputElement.type() == InputTypeNames::image && inputElement.hasImageLoader()) { |
+ if (inputElement.type() == InputTypeNames::image && inputElement.imageLoader()) { |
KURL url = inputElement.src(); |
ImageResource* cachedImage = inputElement.imageLoader()->image(); |
addImageToResources(cachedImage, inputElement.renderer(), url); |