зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1339907 - Make sure WebRender windows record into different files r=jrmuizel
--HG-- extra : amend_source : cfd58276cde8f518b72a292bf509767627c2be03
This commit is contained in:
Родитель
5f7662d029
Коммит
d06562175e
|
@ -170,7 +170,8 @@ pub extern fn wr_window_new(window_id: WrWindowId,
|
|||
assert!(unsafe { is_in_render_thread() });
|
||||
|
||||
let recorder: Option<Box<ApiRecordingReceiver>> = if ENABLE_RECORDING {
|
||||
Some(Box::new(BinaryRecorder::new(&PathBuf::from("wr-record.bin"))))
|
||||
let name = format!("wr-record-{}.bin", window_id.0);
|
||||
Some(Box::new(BinaryRecorder::new(&PathBuf::from(name))))
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче