From 4234b1252af9b4da08d8cd372dd4c1db9c3f2662 Mon Sep 17 00:00:00 2001 From: Gregory Terzian Date: Fri, 18 May 2018 10:59:41 +0800 Subject: move top_level_browsing_context_id out of embedder msg --- components/script/dom/htmlbodyelement.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'components/script/dom/htmlbodyelement.rs') diff --git a/components/script/dom/htmlbodyelement.rs b/components/script/dom/htmlbodyelement.rs index 51ed2fcd0ea..7d921d57ce8 100644 --- a/components/script/dom/htmlbodyelement.rs +++ b/components/script/dom/htmlbodyelement.rs @@ -151,8 +151,7 @@ impl VirtualMethods for HTMLBodyElement { let document = window.Document(); document.set_reflow_timeout(time::precise_time_ns() + INITIAL_REFLOW_DELAY); if window.is_top_level() { - let top_level_browsing_context_id = window.top_level_browsing_context_id(); - let msg = EmbedderMsg::HeadParsed(top_level_browsing_context_id); + let msg = EmbedderMsg::HeadParsed; window.send_to_embedder(msg); } } -- cgit v1.2.3