mirror of
https://github.com/servo/servo.git
synced 2025-08-25 23:28:21 +01:00
Make Servo_GetComputedValues take a node rather than an element.
This commit is contained in:
parent
fbc575407d
commit
b488e1d1d4
3 changed files with 5 additions and 5 deletions
|
@ -58,7 +58,7 @@ pub struct GeckoNode<'ln> {
|
|||
}
|
||||
|
||||
impl<'ln> GeckoNode<'ln> {
|
||||
unsafe fn from_raw(n: *mut RawGeckoNode) -> GeckoNode<'ln> {
|
||||
pub unsafe fn from_raw(n: *mut RawGeckoNode) -> GeckoNode<'ln> {
|
||||
GeckoNode {
|
||||
node: n,
|
||||
chain: PhantomData,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue