Bug 1452620 - Document the WrPipelineInfo structure. r=botond,nical

MozReview-Commit-ID: DleDZydMnKS

--HG--
extra : rebase_source : 1e86be2527841a2d1c1b999f11f9c4c03e844a2f
This commit is contained in:
Kartikaya Gupta 2018-04-10 17:26:54 -04:00
Родитель 97ffc1e59e
Коммит 9430ed7557
1 изменённых файлов: 10 добавлений и 0 удалений

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

@ -649,7 +649,17 @@ impl From<(WrPipelineId, WrEpoch)> for WrPipelineEpoch {
#[repr(C)]
pub struct WrPipelineInfo {
// This contains an entry for each pipeline that was rendered, along with
// the epoch at which it was rendered. Rendered pipelines include the root
// pipeline and any other pipelines that were reachable via IFrame display
// items from the root pipeline.
epochs: FfiVec<WrPipelineEpoch>,
// This contains an entry for each pipeline that was removed during the
// last transaction. These pipelines would have been explicitly removed by
// calling remove_pipeline on the transaction object; the pipeline showing
// up in this array means that the data structures have been torn down on
// the webrender side, and so any remaining data structures on the caller
// side can now be torn down also.
removed_pipelines: FfiVec<PipelineId>,
}