Changeset 228982 in webkit


Ignore:
Timestamp:
Feb 25, 2018 6:13:09 PM (6 years ago)
Author:
ap@apple.com
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.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r228979 r228982  
     12018-02-25  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Font smoothing doesn't get disabled if the preference is set before launching WebContent process
     4        https://bugs.webkit.org/show_bug.cgi?id=183108
     5
     6        Reviewed by Tim Horton.
     7
     8        * WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess):
     9        Fix the bug. While at it, also avoid the anti-pattern in setAlwaysUsesComplexTextCodePath.
     10
    1112018-02-25  Philippe Normand  <pnormand@igalia.com>
    212
  • trunk/Source/WebKit/WebProcess/WebProcess.cpp

    r228942 r228982  
    375375    setResourceLoadStatisticsEnabled(parameters.resourceLoadStatisticsEnabled);
    376376
    377     if (parameters.shouldAlwaysUseComplexTextCodePath)
    378         setAlwaysUsesComplexTextCodePath(true);
    379 
    380     if (parameters.shouldUseFontSmoothing)
    381         setShouldUseFontSmoothing(true);
     377    setAlwaysUsesComplexTextCodePath(parameters.shouldAlwaysUseComplexTextCodePath);
     378
     379    setShouldUseFontSmoothing(parameters.shouldUseFontSmoothing);
    382380
    383381    if (parameters.shouldUseTestingNetworkSession)
Note: See TracChangeset for help on using the changeset viewer.