diff options
author | Gregory Terzian <gterzian@users.noreply.github.com> | 2018-05-18 10:59:41 +0800 |
---|---|---|
committer | Gregory Terzian <gterzian@users.noreply.github.com> | 2018-05-23 21:46:05 +0800 |
commit | 4234b1252af9b4da08d8cd372dd4c1db9c3f2662 (patch) | |
tree | 03fee065ca9603e31f8a1eaf98fea868f37b27f2 /components/script/dom/htmlbodyelement.rs | |
parent | d4382407722108a52bf23b1f3a3114984f13fb90 (diff) | |
download | servo-4234b1252af9b4da08d8cd372dd4c1db9c3f2662.tar.gz servo-4234b1252af9b4da08d8cd372dd4c1db9c3f2662.zip |
move top_level_browsing_context_id out of embedder msg
Diffstat (limited to 'components/script/dom/htmlbodyelement.rs')
-rw-r--r-- | components/script/dom/htmlbodyelement.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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); } } |