servo: Merge #8818 - Make IPC image cache listener silently drop failures instead of catas… (from jdm:imagepanic); r=Manishearth

…trophically panicking. Resolves #8817.

Source-Repo: https://github.com/servo/servo
Source-Revision: 39a36a0098fd27230de1e1a3be835a7af589df2a
This commit is contained in:
Josh Matthews 2015-12-04 12:29:43 +05:01
Родитель 68a759bf6a
Коммит cdcb0691de
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -117,8 +117,8 @@ impl HTMLImageElement {
let runnable = ImageResponseHandlerRunnable::new(
trusted_node.clone(), image_response);
let runnable = wrapper.wrap_runnable(runnable);
script_chan.send(CommonScriptMsg::RunnableMsg(
UpdateReplacedElement, runnable)).unwrap();
let _ = script_chan.send(CommonScriptMsg::RunnableMsg(
UpdateReplacedElement, runnable));
});
image_cache.request_image(img_url,