Changeset 242042 in webkit
- Timestamp:
- Feb 25, 2019 8:10:31 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r242032 r242042 1 2019-02-25 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [WPE][GTK] Clean up handling of WEBKIT_FORCE_COMPLEX_TEXT 4 https://bugs.webkit.org/show_bug.cgi?id=194614 5 6 Reviewed by Carlos Garcia Campos. 7 8 This environment variable is now enabled for WPE, not just for GTK. 9 10 It is now possible to use this environment variable to enable complex text, not just to 11 disable it. 12 13 WebProcessPool::setAlwaysUsesComplexTextCodePath is fixed to be respected even when this 14 environment variable is set, although WPE and GTK will never do so. 15 16 * UIProcess/glib/WebProcessPoolGLib.cpp: 17 (WebKit::WebProcessPool::platformInitialize): 18 (WebKit::WebProcessPool::platformInitializeWebProcess): 19 1 20 2019-02-24 Zalan Bujtas <zalan@apple.com> 2 21 -
trunk/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
r242012 r242042 74 74 void WebProcessPool::platformInitialize() 75 75 { 76 #if PLATFORM(GTK) 77 m_alwaysUsesComplexTextCodePath = true; 78 #endif 79 if (const char* forceComplexText = getenv("WEBKIT_FORCE_COMPLEX_TEXT")) 80 m_alwaysUsesComplexTextCodePath = !strcmp(forceComplexText, "1"); 81 76 82 #if ENABLE(REMOTE_INSPECTOR) 77 83 if (const char* address = g_getenv("WEBKIT_INSPECTOR_SERVER")) … … 95 101 parameters.proxySettings = m_networkProxySettings; 96 102 97 #if PLATFORM(GTK)98 // This is misnamed. It can only be used to disable complex text.99 parameters.shouldAlwaysUseComplexTextCodePath = true;100 const char* forceComplexText = getenv("WEBKIT_FORCE_COMPLEX_TEXT");101 if (forceComplexText && !strcmp(forceComplexText, "0"))102 parameters.shouldAlwaysUseComplexTextCodePath = m_alwaysUsesComplexTextCodePath;103 #endif104 105 103 if (memoryPressureMonitorDisabled()) 106 104 parameters.shouldSuppressMemoryPressureHandler = true;
Note: See TracChangeset
for help on using the changeset viewer.