Bug 1587084 - Restore the picture caching enabled preference. r=nical

The previous patch fixed the bug in the non-picture caching code
path, so we can re-enable the preference now.

Differential Revision: https://phabricator.services.mozilla.com/D48639

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Glenn Watson 2019-10-09 08:07:36 +00:00
Родитель 51b41c1c52
Коммит b4d8e0c7ca
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -1203,10 +1203,6 @@ pub extern "C" fn wr_window_new(window_id: WrWindowId,
ColorF::new(0.0, 0.0, 0.0, 0.0)
};
if !enable_picture_caching {
info!("WebRender - picture-caching cannot be disabled until bug 1587084 is resolved.");
}
let opts = RendererOptions {
enable_aa: true,
enable_subpixel_aa: cfg!(not(target_os = "android")),
@ -1238,7 +1234,7 @@ pub extern "C" fn wr_window_new(window_id: WrWindowId,
clear_color: Some(color),
precache_flags,
namespace_alloc_by_client: true,
enable_picture_caching: true,
enable_picture_caching,
allow_pixel_local_storage_support: false,
start_debug_server,
..Default::default()