diff options
author | bors-servo <release+servo@mozilla.com> | 2013-06-27 19:12:34 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-06-27 19:12:34 -0700 |
commit | fed4f951c19f5c8cfc474814c7e8ca6ebc257232 (patch) | |
tree | 0c9755a93972a890b1e9352cb387a86c23ed785c /src/components/msg/engine.rs | |
parent | 74ab91414913d075b18a7a3d1b5c92b0cc0e0239 (diff) | |
parent | 72f5e5f30d52673dddb3b5e76333e122eef00a42 (diff) | |
download | servo-fed4f951c19f5c8cfc474814c7e8ca6ebc257232.tar.gz servo-fed4f951c19f5c8cfc474814c7e8ca6ebc257232.zip |
auto merge of #551 : sfowler/servo/run-layout-once, r=metajack
Performance will be better and benchmarking easier if we don't run layout an extra unnecessary time when loading a page from the commandline. This is happening because we always send a resize event to the script task from the compositor whenever the platform tells us one happened, even if the window size didn't change. This PR fixes this by checking that the window size is actually different before sending the event.
Diffstat (limited to 'src/components/msg/engine.rs')
0 files changed, 0 insertions, 0 deletions