aboutsummaryrefslogtreecommitdiffstats
path: root/components/servo/lib.rs
diff options
context:
space:
mode:
authorFernando Jiménez Moreno <ferjmoreno@gmail.com>2017-03-16 11:08:09 +0100
committerFernando Jiménez Moreno <ferjmoreno@gmail.com>2017-03-27 19:54:13 +0200
commit72d7ee613b4777d15c28350d68729054a44060e6 (patch)
treeb9c0e18004c3b20bfcbfbb7beb188e06012a8c94 /components/servo/lib.rs
parent9eb6bb78b0dc7ab0f79f7dc992764225c8dcac1d (diff)
downloadservo-72d7ee613b4777d15c28350d68729054a44060e6.tar.gz
servo-72d7ee613b4777d15c28350d68729054a44060e6.zip
Make image cache per-document rather than global
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r--components/servo/lib.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index a493c62fdb6..e3afaada420 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -82,7 +82,6 @@ use gaol::sandbox::{ChildSandbox, ChildSandboxMethods};
use gfx::font_cache_thread::FontCacheThread;
use ipc_channel::ipc::{self, IpcSender};
use log::{Log, LogMetadata, LogRecord};
-use net::image_cache_thread::new_image_cache_thread;
use net::resource_thread::new_resource_threads;
use net_traits::IpcSend;
use profile::mem as profile_mem;
@@ -290,7 +289,6 @@ fn create_constellation(user_agent: Cow<'static, str>,
devtools_chan.clone(),
time_profiler_chan.clone(),
config_dir);
- let image_cache_thread = new_image_cache_thread(webrender_api_sender.create_api());
let font_cache_thread = FontCacheThread::new(public_resource_threads.sender(),
Some(webrender_api_sender.create_api()));
@@ -301,7 +299,6 @@ fn create_constellation(user_agent: Cow<'static, str>,
debugger_chan: debugger_chan,
devtools_chan: devtools_chan,
bluetooth_thread: bluetooth_thread,
- image_cache_thread: image_cache_thread,
font_cache_thread: font_cache_thread,
public_resource_threads: public_resource_threads,
private_resource_threads: private_resource_threads,