diff options
author | Josh Matthews <josh@joshmatthews.net> | 2020-02-24 14:06:32 -0500 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2020-03-09 21:11:27 -0400 |
commit | 085e17b73c5472b3d15cfb86b059a547734d2b75 (patch) | |
tree | 4da6306a1ec2535f18ae39de1f827f7040906ecc /components | |
parent | b4d7ec1c99259f936c9e34de157b652707d308de (diff) | |
download | servo-085e17b73c5472b3d15cfb86b059a547734d2b75.tar.gz servo-085e17b73c5472b3d15cfb86b059a547734d2b75.zip |
Remove XR canvas dirtying step.
Diffstat (limited to 'components')
-rw-r--r-- | components/script/dom/xrsession.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/components/script/dom/xrsession.rs b/components/script/dom/xrsession.rs index ecb78615897..9e6696bdcc0 100644 --- a/components/script/dom/xrsession.rs +++ b/components/script/dom/xrsession.rs @@ -412,14 +412,6 @@ impl XRSession { "WEBXR PROFILING [raf execute]:\t{}ms", (time::precise_time_ns() - raf_start) as f64 / 1_000_000. ); - - // If the canvas element is attached to the DOM, it is now dirty, - // and we need to trigger a reflow. - base_layer - .Context() - .Canvas() - .upcast::<Node>() - .dirty(NodeDamage::OtherNodeDamage); } fn update_inline_projection_matrix(&self) { |