Use a 1-byte enum class for TextDirection
[WebKit-https.git] / Source / WebCore / html / HTMLTitleElement.cpp
index 80af68f..cc5899e 100644 (file)
@@ -80,7 +80,7 @@ String HTMLTitleElement::text() const
 
 StringWithDirection HTMLTitleElement::computedTextWithDirection()
 {
-    TextDirection direction = LTR;
+    auto direction = TextDirection::LTR;
     if (auto* computedStyle = this->computedStyle())
         direction = computedStyle->direction();
     else