mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use Vec for the metadata argument to initialize_layers_for_pipeline.
This commit is contained in:
parent
b38066a541
commit
b6e2a9aa78
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ impl RenderListener for CompositorChan {
|
|||
|
||||
fn initialize_layers_for_pipeline(&self,
|
||||
pipeline_id: PipelineId,
|
||||
metadata: ~[LayerMetadata],
|
||||
metadata: Vec<LayerMetadata>,
|
||||
epoch: Epoch) {
|
||||
// FIXME(#2004, pcwalton): This assumes that the first layer determines the page size, and
|
||||
// that all other layers are immediate children of it. This is sufficient to handle
|
||||
|
|
|
@ -126,7 +126,7 @@ pub trait RenderListener {
|
|||
/// creating and/or destroying render layers as necessary.
|
||||
fn initialize_layers_for_pipeline(&self,
|
||||
pipeline_id: PipelineId,
|
||||
metadata: ~[LayerMetadata],
|
||||
metadata: Vec<LayerMetadata>,
|
||||
epoch: Epoch);
|
||||
|
||||
fn set_layer_clip_rect(&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue