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 a09e7642b6185f591e77851739b0ddfff9250862..7909422216b1cf0bc6375e3c571a17aa06f5cc40 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLImageFallbackHelper.cpp |
@@ -117,7 +117,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) && |