Remove an unnecessary synchronous full reflow.

This commit is contained in:
Josh Matthews 2019-03-07 10:42:36 -05:00 committed by GitHub
parent ab5a57fadf
commit a8683bc3d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2201,7 +2201,6 @@ impl Document {
window, window,
); );
window.reflow(ReflowGoal::Full, ReflowReason::DOMContentLoaded);
update_with_current_time_ms(&self.dom_content_loaded_event_end); update_with_current_time_ms(&self.dom_content_loaded_event_end);
// html parsing has finished - set dom content loaded // html parsing has finished - set dom content loaded