Add +[WebView _allowsRoundingHacks]
[WebKit-https.git] / Source / WebKit / mac / WebView / WebView.mm
index 9ee55ccb53b2ab6693b89c11d3e2635ffe67ca15..791d6e6eda527de309e44f38eb09636bcc2231fe 100644 (file)
@@ -1071,6 +1071,11 @@ static NSMutableSet *knownPluginMIMETypes()
     TextRun::setAllowsRoundingHacks(allowsRoundingHacks);
 }
 
++ (BOOL)_allowsRoundingHacks
+{
+    return TextRun::allowsRoundingHacks();
+}
+
 + (BOOL)canCloseAllWebViews
 {
     return DOMWindow::dispatchAllPendingBeforeUnloadEvents();