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 f7e5795796cbba72715d7e51f53be53b76266da6..1ff6278ae79eebb7032824063de1591ec8ad66a4 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
@@ -116,7 +116,8 @@ PassRefPtr<ComputedStyle> HTMLImageFallbackHelper::customStyleForAltText( |
// image for the element's writing direction. |
brokenImage->setInlineStyleProperty( |
CSSPropertyFloat, |
- AtomicString(newStyle->direction() == LTR ? "left" : "right")); |
+ AtomicString(newStyle->direction() == TextDirection::Ltr ? "left" |
+ : "right")); |
// This is an <img> with no attributes, so don't display anything. |
if (noImageSourceSpecified(element) && |