mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
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. |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs | ||
message.rs | ||
rpc.rs | ||
wrapper_traits.rs |