mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
Remove no-op got_load_complete_message compositor property.
This commit is contained in:
parent
9e89b0a229
commit
fbb59f925a
1 changed files with 0 additions and 9 deletions
|
@ -157,11 +157,6 @@ pub struct IOCompositor<Window: WindowMethods> {
|
|||
/// The time of the last zoom action has started.
|
||||
zoom_time: f64,
|
||||
|
||||
/// Whether the page being rendered has loaded completely.
|
||||
/// Differs from ReadyState because we can finish loading (ready)
|
||||
/// many times for a single page.
|
||||
got_load_complete_message: bool,
|
||||
|
||||
/// The current frame tree ID (used to reject old paint buffers)
|
||||
frame_tree_id: FrameTreeId,
|
||||
|
||||
|
@ -385,7 +380,6 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
max_viewport_zoom: None,
|
||||
zoom_action: false,
|
||||
zoom_time: 0f64,
|
||||
got_load_complete_message: false,
|
||||
frame_tree_id: FrameTreeId(0),
|
||||
constellation_chan: state.constellation_chan,
|
||||
time_profiler_chan: state.time_profiler_chan,
|
||||
|
@ -516,8 +510,6 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
}
|
||||
|
||||
(Msg::LoadComplete, ShutdownState::NotShuttingDown) => {
|
||||
self.got_load_complete_message = true;
|
||||
|
||||
// If we're painting in headless mode, schedule a recomposite.
|
||||
if opts::get().output_file.is_some() || opts::get().exit_after_load {
|
||||
self.composite_if_necessary(CompositingReason::Headless);
|
||||
|
@ -901,7 +893,6 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
|
||||
fn on_load_url_window_event(&mut self, url_string: String) {
|
||||
debug!("osmain: loading URL `{}`", url_string);
|
||||
self.got_load_complete_message = false;
|
||||
match ServoUrl::parse(&url_string) {
|
||||
Ok(url) => {
|
||||
let msg = match self.root_pipeline {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue