Changeset 185651 in webkit
- Timestamp:
- Jun 17, 2015, 8:32:38 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/gtk/WebProcessPoolGtk.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r185650 r185651 1 2015-06-17 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER doesn't disable memory cache when set before the web process is launched 4 https://bugs.webkit.org/show_bug.cgi?id=146053 5 6 Reviewed by Martin Robinson. 7 8 The cache is disabled in WebProcess::platformSetCacheModel() when 9 the cache model is CacheModelDocumentViewer, but it's enabled 10 again by WebProcess::setMemoryCacheDisabled() when 11 memoryCacheDisabled creation parameter is processed. We need to 12 make sure the cache model and memoryCacheDisabled parameters are consistent. 13 14 * UIProcess/gtk/WebProcessPoolGtk.cpp: 15 (WebKit::WebProcessPool::platformInitializeWebProcess): Initialize 16 memoryCacheDisabled parameter to true if memory cache was 17 explicitly disabled or cache model is CacheModelDocumentViewer. 18 1 19 2015-06-17 Zan Dobersek <zdobersek@igalia.com> 2 20 -
trunk/Source/WebKit2/UIProcess/gtk/WebProcessPoolGtk.cpp
r185502 r185651 109 109 parameters.diskCacheDirectory = m_configuration->diskCacheDirectory(); 110 110 } 111 112 parameters.memoryCacheDisabled = m_memoryCacheDisabled || m_cacheModel == CacheModelDocumentViewer; 111 113 } 112 114
Note:
See TracChangeset
for help on using the changeset viewer.