Title: [240169] trunk/Source/WebCore
Revision
240169
Author
ddkil...@apple.com
Date
2019-01-18 13:16:33 -0800 (Fri, 18 Jan 2019)

Log Message

Follow-up: Switch remaining UIKit soft-linking in WebCore, WebKitLegacy over to UIKitSoftLink.{cpp,h}
<https://webkit.org/b/193568>
<rdar://problem/47381130>

* editing/cocoa/DictionaryLookup.mm:
(-[WebRevealHighlight drawHighlightContentForItem:context:]):
Fix the build by changing getUIApplicationClass() to
PAL::getUIApplicationClass().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (240168 => 240169)


--- trunk/Source/WebCore/ChangeLog	2019-01-18 20:41:58 UTC (rev 240168)
+++ trunk/Source/WebCore/ChangeLog	2019-01-18 21:16:33 UTC (rev 240169)
@@ -1,5 +1,16 @@
 2019-01-18  David Kilzer  <ddkil...@apple.com>
 
+        Follow-up: Switch remaining UIKit soft-linking in WebCore, WebKitLegacy over to UIKitSoftLink.{cpp,h}
+        <https://webkit.org/b/193568>
+        <rdar://problem/47381130>
+
+        * editing/cocoa/DictionaryLookup.mm:
+        (-[WebRevealHighlight drawHighlightContentForItem:context:]):
+        Fix the build by changing getUIApplicationClass() to
+        PAL::getUIApplicationClass().
+
+2019-01-18  David Kilzer  <ddkil...@apple.com>
+
         Switch remaining UIKit soft-linking in WebCore, WebKitLegacy over to UIKitSoftLink.{cpp,h}
         <https://webkit.org/b/193568>
         <rdar://problem/47381130>

Modified: trunk/Source/WebCore/editing/cocoa/DictionaryLookup.mm (240168 => 240169)


--- trunk/Source/WebCore/editing/cocoa/DictionaryLookup.mm	2019-01-18 20:41:58 UTC (rev 240168)
+++ trunk/Source/WebCore/editing/cocoa/DictionaryLookup.mm	2019-01-18 21:16:33 UTC (rev 240169)
@@ -239,7 +239,7 @@
     WebCore::CGContextStateSaver saveState(context);
     CGAffineTransform contextTransform = CGContextGetCTM(context);
     CGFloat backingScale = contextTransform.a;
-    CGFloat iOSMacScaleFactor = [getUIApplicationClass() sharedApplication]._iOSMacScale;
+    CGFloat iOSMacScaleFactor = [PAL::getUIApplicationClass() sharedApplication]._iOSMacScale;
     CGAffineTransform transform = CGAffineTransformMakeScale(iOSMacScaleFactor * backingScale, iOSMacScaleFactor * backingScale);
     CGContextSetCTM(context, transform);
     
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to