diff options
Diffstat (limited to 'src/components/main/layout/text.rs')
-rw-r--r-- | src/components/main/layout/text.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/main/layout/text.rs b/src/components/main/layout/text.rs index 59d4a2976c8..88a2f93f460 100644 --- a/src/components/main/layout/text.rs +++ b/src/components/main/layout/text.rs @@ -25,7 +25,7 @@ impl TextRunScanner { } } - pub fn scan_for_runs(&mut self, ctx: &LayoutContext, flow: &mut Flow) { + pub fn scan_for_runs(&mut self, ctx: &mut LayoutContext, flow: &mut Flow) { { let inline = flow.as_immutable_inline(); // FIXME: this assertion fails on wikipedia, but doesn't seem @@ -75,7 +75,7 @@ impl TextRunScanner { /// responsible for swapping out the list. It is not clear to me (pcwalton) that this is still /// necessary. pub fn flush_clump_to_list(&mut self, - ctx: &LayoutContext, + ctx: &mut LayoutContext, flow: &mut Flow, last_whitespace: bool, out_boxes: &mut ~[Box]) |