servo/components/script_layout_interface
Kunal Mohan a5b43b7df1
Take origin from window instead of creating a new one in case of reflow
Everytime a new LayoutContext was created, it created a new origin which
caused endless stream of image loads to occur in case of reflow. The reason
for this was that the existing image, although cached successfully, was not
used because the entry in hashmap did not match because of different(new)
origin.
This is solved by storing the origin of a window in enum ScriptReflow and
used in creating new LayoutContext in case of reflow.
2020-02-15 23:51:26 +05:30
..
Cargo.toml Use non-IPC webrender API over explicit IPC channels. 2019-11-27 20:47:53 -05:00
lib.rs Take origin from window instead of creating a new one in case of reflow 2020-02-15 23:51:26 +05:30
message.rs Take origin from window instead of creating a new one in case of reflow 2020-02-15 23:51:26 +05:30
rpc.rs dom: Calculate the viewport size of iframes when they are first added to the tree. 2019-11-06 16:13:55 -05:00
wrapper_traits.rs Fix some warnings new in Rust Nightly 2019-11-08 11:45:16 +01:00