Use Vec for the metadata argument to initialize_layers_for_pipeline.

This commit is contained in:
Ms2ger 2014-05-06 20:33:52 +02:00
parent b38066a541
commit b6e2a9aa78
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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,