Title: [228982] trunk/Source/WebKit
Revision
228982
Author
[email protected]
Date
2018-02-25 18:13:09 -0800 (Sun, 25 Feb 2018)

Log Message

Font smoothing doesn't get disabled if the preference is set before launching WebContent process
https://bugs.webkit.org/show_bug.cgi?id=183108

Reviewed by Tim Horton.

* WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess):
Fix the bug. While at it, also avoid the anti-pattern in setAlwaysUsesComplexTextCodePath.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (228981 => 228982)


--- trunk/Source/WebKit/ChangeLog	2018-02-25 22:36:37 UTC (rev 228981)
+++ trunk/Source/WebKit/ChangeLog	2018-02-26 02:13:09 UTC (rev 228982)
@@ -1,3 +1,13 @@
+2018-02-25  Alexey Proskuryakov  <[email protected]>
+
+        Font smoothing doesn't get disabled if the preference is set before launching WebContent process
+        https://bugs.webkit.org/show_bug.cgi?id=183108
+
+        Reviewed by Tim Horton.
+
+        * WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess):
+        Fix the bug. While at it, also avoid the anti-pattern in setAlwaysUsesComplexTextCodePath.
+
 2018-02-25  Philippe Normand  <[email protected]>
 
         Unreviewed GTK Debug build fix after r228942.

Modified: trunk/Source/WebKit/WebProcess/WebProcess.cpp (228981 => 228982)


--- trunk/Source/WebKit/WebProcess/WebProcess.cpp	2018-02-25 22:36:37 UTC (rev 228981)
+++ trunk/Source/WebKit/WebProcess/WebProcess.cpp	2018-02-26 02:13:09 UTC (rev 228982)
@@ -374,11 +374,9 @@
 
     setResourceLoadStatisticsEnabled(parameters.resourceLoadStatisticsEnabled);
 
-    if (parameters.shouldAlwaysUseComplexTextCodePath)
-        setAlwaysUsesComplexTextCodePath(true);
+    setAlwaysUsesComplexTextCodePath(parameters.shouldAlwaysUseComplexTextCodePath);
 
-    if (parameters.shouldUseFontSmoothing)
-        setShouldUseFontSmoothing(true);
+    setShouldUseFontSmoothing(parameters.shouldUseFontSmoothing);
 
     if (parameters.shouldUseTestingNetworkSession)
         NetworkStorageSession::switchToNewTestingSession();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to