aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/compositing/compositor.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/components/compositing/compositor.rs b/components/compositing/compositor.rs
index 8597ef783d7..6510879c5ce 100644
--- a/components/compositing/compositor.rs
+++ b/components/compositing/compositor.rs
@@ -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 {