Index: third_party/WebKit/Source/core/html/HTMLElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
index 30bc4d81d68450103a6e24390c9557188f344936..53b6e26fdfdf79629c81823be455ae161e0f6f0c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp |
@@ -787,7 +787,7 @@ TextDirection HTMLElement::directionalityIfhasDirAutoAttribute( |
bool& isAuto) const { |
isAuto = hasDirectionAuto(); |
if (!isAuto) |
- return LTR; |
+ return TextDirection::Ltr; |
return directionality(); |
} |
@@ -841,7 +841,7 @@ TextDirection HTMLElement::directionality( |
} |
if (strongDirectionalityTextNode) |
*strongDirectionalityTextNode = 0; |
- return LTR; |
+ return TextDirection::Ltr; |
} |
bool HTMLElement::selfOrAncestorHasDirAutoAttribute() const { |