From 56b3005721ce88674dd46a8fe068e0bb25d52567 Mon Sep 17 00:00:00 2001 From: Paul Rouget Date: Tue, 5 Nov 2019 12:05:50 +0100 Subject: [PATCH] Only updated history once --- components/constellation/constellation.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs index af069dafb63..685f620f6b5 100644 --- a/components/constellation/constellation.rs +++ b/components/constellation/constellation.rs @@ -3995,7 +3995,6 @@ where new_context_info.is_visible, ); self.update_activity(change.new_pipeline_id); - self.notify_history_changed(change.top_level_browsing_context_id); }, Some(old_pipeline_id) => { if let Some(pipeline) = self.pipelines.get(&old_pipeline_id) { @@ -4087,8 +4086,6 @@ where ); } } - - self.notify_history_changed(change.top_level_browsing_context_id); }, }