Title: [244319] trunk/Source/WebKit
Revision
244319
Author
[email protected]
Date
2019-04-15 18:43:30 -0700 (Mon, 15 Apr 2019)

Log Message

Stop using hyphenationFactor
https://bugs.webkit.org/show_bug.cgi?id=196949
<rdar://problem/49779594>

Patch by Alex Christensen <[email protected]> on 2019-04-15
Reviewed by Geoffrey Garen.

* UIProcess/Cocoa/WKSafeBrowsingWarning.mm:
(-[WKSafeBrowsingTextView initWithAttributedString:forWarning:]):
I added this use of hyphenationFactor in r241124 but the other changes in that revision make the use of hyphenationFactor redundant.
There is a reason to remove it in the radar.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (244318 => 244319)


--- trunk/Source/WebKit/ChangeLog	2019-04-16 01:43:00 UTC (rev 244318)
+++ trunk/Source/WebKit/ChangeLog	2019-04-16 01:43:30 UTC (rev 244319)
@@ -1,5 +1,18 @@
 2019-04-15  Alex Christensen  <[email protected]>
 
+        Stop using hyphenationFactor
+        https://bugs.webkit.org/show_bug.cgi?id=196949
+        <rdar://problem/49779594>
+
+        Reviewed by Geoffrey Garen.
+
+        * UIProcess/Cocoa/WKSafeBrowsingWarning.mm:
+        (-[WKSafeBrowsingTextView initWithAttributedString:forWarning:]):
+        I added this use of hyphenationFactor in r241124 but the other changes in that revision make the use of hyphenationFactor redundant.
+        There is a reason to remove it in the radar.
+
+2019-04-15  Alex Christensen  <[email protected]>
+
         Forward declare WKWebView in _WKDiagnosticLoggingDelegate.h
 
         * UIProcess/API/Cocoa/_WKDiagnosticLoggingDelegate.h:

Modified: trunk/Source/WebKit/UIProcess/Cocoa/WKSafeBrowsingWarning.mm (244318 => 244319)


--- trunk/Source/WebKit/UIProcess/Cocoa/WKSafeBrowsingWarning.mm	2019-04-16 01:43:00 UTC (rev 244318)
+++ trunk/Source/WebKit/UIProcess/Cocoa/WKSafeBrowsingWarning.mm	2019-04-16 01:43:30 UTC (rev 244319)
@@ -562,9 +562,6 @@
 #if !PLATFORM(MAC)
     self.scrollEnabled = NO;
 #endif
-#if PLATFORM(WATCHOS)
-    self.layoutManager.hyphenationFactor = 1;
-#endif
 
     return self;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to