Use a 1-byte enum class for TextDirection
[WebKit-https.git] / Source / WebKitLegacy / ios / WebView / WebPDFViewIOS.mm
index ca6661b..ec1a8ec 100644 (file)
@@ -299,7 +299,7 @@ static CGColorRef createCGColorWithDeviceWhite(CGFloat white, CGFloat alpha)
     if ([title length]) {
         [_title release];
         _title = [title copy];
-        core([self _frame])->loader().client().dispatchDidReceiveTitle({ title, LTR });
+        core([self _frame])->loader().client().dispatchDidReceiveTitle({ title, TextDirection::LTR });
     }
 }