From de3b193e929717e4c3341f21d9b20911383df160 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Fri, 23 May 2014 18:15:12 -0700 Subject: [PATCH] Update to owned::Box --- src/components/main/layout/box_.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/main/layout/box_.rs b/src/components/main/layout/box_.rs index 6abcf9ff035..aa61f75f7c1 100644 --- a/src/components/main/layout/box_.rs +++ b/src/components/main/layout/box_.rs @@ -1099,7 +1099,7 @@ impl Box { /// Otherwise the split information is returned. The right information is /// optional due to the possibility of it being whitespace. pub fn find_split_info_by_new_line(&self) - -> Option<(SplitInfo, Option, Arc<~TextRun> /* TODO: remove */)> { + -> Option<(SplitInfo, Option, Arc> /* TODO: remove */)> { match self.specific { GenericBox | IframeBox(_) | ImageBox(_) | TableBox | TableCellBox | TableRowBox | TableWrapperBox => None, @@ -1142,7 +1142,7 @@ impl Box { /// and right split information are both optional due to the possibility of /// them being whitespace. pub fn find_split_info_for_width(&self, start: CharIndex, max_width: Au, starts_line: bool) - -> Option<(Option, Option, Arc<~TextRun> /* TODO: remove */)> { + -> Option<(Option, Option, Arc> /* TODO: remove */)> { match self.specific { GenericBox | IframeBox(_) | ImageBox(_) | TableBox | TableCellBox | TableRowBox | TableWrapperBox => None,