mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
move top_level_browsing_context_id out of embedder msg
This commit is contained in:
parent
d438240772
commit
4234b1252a
11 changed files with 78 additions and 97 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue