diff options
author | patrick kim <ksh8281@gmail.com> | 2013-12-09 16:28:41 +0900 |
---|---|---|
committer | patrick kim <ksh8281@gmail.com> | 2013-12-11 11:42:14 +0900 |
commit | 0026eb0899ceec9a8be2e28f8f9426b23ec5438f (patch) | |
tree | 43583feabe129072f7d5b06a722a0c54b646ecd6 /src/components/main/layout/text.rs | |
parent | 55771bc307b0be36ef89548c406ca5632f95de21 (diff) | |
download | servo-0026eb0899ceec9a8be2e28f8f9426b23ec5438f.tar.gz servo-0026eb0899ceec9a8be2e28f8f9426b23ec5438f.zip |
remove @ in LayoutTask.FontContext
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]) |