mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename seek_sync to seek_end
This commit is contained in:
parent
aa3c911efa
commit
7bf1944007
1 changed files with 2 additions and 2 deletions
|
@ -1061,7 +1061,7 @@ impl HTMLMediaElement {
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-media-seek
|
||||
fn seek_sync(&self) {
|
||||
fn seek_end(&self) {
|
||||
// Step 14.
|
||||
self.seeking.set(false);
|
||||
|
||||
|
@ -1417,7 +1417,7 @@ impl MicrotaskRunnable for MediaElementMicrotask {
|
|||
generation_id,
|
||||
} => {
|
||||
if generation_id == elem.generation_id.get() {
|
||||
elem.seek_sync();
|
||||
elem.seek_end();
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue