Index: third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
index 843cb9259d99dcb96640295a0f6bea9729b5efb6..e9b35880e778a01f72b23994d763b783f161f7dc 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
@@ -99,7 +99,7 @@ PassRefPtr<ComputedStyle> HTMLImageFallbackHelper::customStyleForAltText(Element |
// This is an <img> with no attributes, so don't display anything. |
if (noImageSourceSpecified(element) && !newStyle->width().isSpecifiedOrIntrinsic() && !newStyle->height().isSpecifiedOrIntrinsic() && toHTMLElement(element).altText().isEmpty()) |
- newStyle->setDisplay(NONE); |
+ newStyle->setDisplay(EDisplay::None); |
// This preserves legacy behaviour originally defined when alt-text was managed by LayoutImage. |
if (noImageSourceSpecified(element)) |