Auto merge of #25781 - nox:fixzeal, r=jdm

Introduce a new type MaybeUnreflectedDom<T> (fixes #25701)
This commit is contained in:
bors-servo 2020-03-02 08:20:00 -05:00 committed by GitHub
commit 5a6b2d94d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 120 additions and 80 deletions

View file

@ -166,7 +166,7 @@ impl WindowProxy {
// Create a new browsing context.
let current = Some(window.global().pipeline_id());
let mut window_proxy = Box::new(WindowProxy::new_inherited(
let window_proxy = Box::new(WindowProxy::new_inherited(
browsing_context_id,
top_level_browsing_context_id,
current,
@ -212,7 +212,7 @@ impl WindowProxy {
let cx = global_to_clone_from.get_cx();
// Create a new browsing context.
let mut window_proxy = Box::new(WindowProxy::new_inherited(
let window_proxy = Box::new(WindowProxy::new_inherited(
browsing_context_id,
top_level_browsing_context_id,
None,