mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
LibWeb: Give CSSLoader a backpointer to its owner element
This allows CSSLoader to set up the style sheet owner node internally, and avoids an awkward weak link between CSSLoader and Document.
This commit is contained in:
parent
d07fcba69b
commit
bc116f3b13
5 changed files with 17 additions and 16 deletions
|
@ -55,8 +55,8 @@ private:
|
|||
};
|
||||
};
|
||||
|
||||
unsigned m_relationship { 0 };
|
||||
CSSLoader m_css_loader;
|
||||
unsigned m_relationship { 0 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue