mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Lookup frames by frame_id, not pipeline_id.
This commit is contained in:
parent
4984a83f67
commit
f3993d99b9
13 changed files with 187 additions and 164 deletions
|
@ -207,6 +207,11 @@ impl HTMLIFrameElement {
|
|||
self.pipeline_id.get()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn frame_id(&self) -> FrameId {
|
||||
self.frame_id
|
||||
}
|
||||
|
||||
pub fn change_visibility_status(&self, visibility: bool) {
|
||||
if self.visibility.get() != visibility {
|
||||
self.visibility.set(visibility);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue