mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Workaround #20149 - presumed rustc bug on android.
This commit is contained in:
parent
63ab4f73f1
commit
391d0626db
1 changed files with 3 additions and 3 deletions
|
@ -266,10 +266,10 @@ impl LineBreaker {
|
|||
}
|
||||
|
||||
/// Reinitializes the pending line to blank data.
|
||||
fn reset_line(&mut self) -> Line {
|
||||
fn reset_line(&mut self) {
|
||||
self.last_known_line_breaking_opportunity = None;
|
||||
mem::replace(&mut self.pending_line,
|
||||
Line::new(self.floats.writing_mode, &self.minimum_metrics))
|
||||
// https://github.com/rust-lang/rust/issues/49282
|
||||
self.pending_line = Line::new(self.floats.writing_mode, &self.minimum_metrics);
|
||||
}
|
||||
|
||||
/// Reflows fragments for the given inline flow.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue