mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
script: Address review comments
This commit is contained in:
parent
9e34e82aec
commit
05bf2ffd02
3 changed files with 7 additions and 5 deletions
|
@ -372,7 +372,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
|
|||
/// page content during parsing.
|
||||
fn set_reflow_timeout(self, timeout: u64) {
|
||||
if let Some(existing_timeout) = self.reflow_timeout.get() {
|
||||
if existing_timeout > timeout {
|
||||
if existing_timeout < timeout {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue