mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Apply pending render states in RAF
This commit is contained in:
parent
cf53cf6cc5
commit
33421e8ee0
2 changed files with 30 additions and 4 deletions
|
@ -47,7 +47,7 @@ impl XRRenderState {
|
|||
)
|
||||
}
|
||||
|
||||
pub fn copy(&self) -> DomRoot<Self> {
|
||||
pub fn clone_object(&self) -> DomRoot<Self> {
|
||||
XRRenderState::new(
|
||||
&self.global(),
|
||||
self.depth_near.get(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue