Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1036)

Unified Diff: Source/core/html/HTMLImageFallbackHelper.cpp

Issue 923953002: Move rendering/RenderImage* to layout/LayoutImage* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLPlugInElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698