Use a 1-byte enum class for TextDirection
[WebKit-https.git] / Source / WebKitLegacy / mac / WebView / WebFrame.mm
index 58d5136..4f007d0 100644 (file)
@@ -2337,7 +2337,7 @@ static WebFrameLoadType toWebFrameLoadType(FrameLoadType frameLoadType)
     Frame* coreFrame = _private->coreFrame;
     if (!coreFrame)
         return;
-    coreFrame->loader().client().dispatchDidReceiveTitle({ title, LTR });
+    coreFrame->loader().client().dispatchDidReceiveTitle({ title, TextDirection::LTR });
 }
 
 #endif // PLATFORM(IOS)