Index: Source/core/html/HTMLImageFallbackHelper.cpp |
diff --git a/Source/core/html/HTMLImageFallbackHelper.cpp b/Source/core/html/HTMLImageFallbackHelper.cpp |
index f2331f9b5a9d61e8a6fa2a34201b8d78f1db0a9c..2ecac04424d190b79673a371d8f4ebac2c6e635c 100644 |
--- a/Source/core/html/HTMLImageFallbackHelper.cpp |
+++ b/Source/core/html/HTMLImageFallbackHelper.cpp |
@@ -104,7 +104,7 @@ PassRefPtr<LayoutStyle> HTMLImageFallbackHelper::customStyleForAltText(Element& |
if (noImageSourceSpecified(element) && !newStyle->width().isSpecifiedOrIntrinsic() && !newStyle->height().isSpecifiedOrIntrinsic() && toHTMLElement(element).altText().isEmpty()) |
newStyle->setDisplay(NONE); |
- // This preserves legacy behaviour originally defined when alt-text was managed by RenderImage. |
+ // This preserves legacy behaviour originally defined when alt-text was managed by LayoutImage. |
if (noImageSourceSpecified(element)) |
brokenImage->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone); |
else |