From 30c5ad95d5aa61af8b3c5b3243d3ab7cfdb9d559 Mon Sep 17 00:00:00 2001 From: Dominic Cooney Date: Sun, 23 May 2021 19:27:57 +0900 Subject: [PATCH] Mark dead BrowsingContextActor fields with underscores. Signed-off-by: Dominic Cooney --- .../devtools/actors/browsing_context.rs | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/components/devtools/actors/browsing_context.rs b/components/devtools/actors/browsing_context.rs index 5692fb167cd..e301abc98d7 100644 --- a/components/devtools/actors/browsing_context.rs +++ b/components/devtools/actors/browsing_context.rs @@ -125,14 +125,14 @@ pub(crate) struct BrowsingContextActor { pub title: RefCell, pub url: RefCell, pub console: String, - pub emulation: String, - pub inspector: String, - pub timeline: String, - pub profiler: String, - pub performance: String, - pub styleSheets: String, + pub _emulation: String, + pub _inspector: String, + pub _timeline: String, + pub _profiler: String, + pub _performance: String, + pub _styleSheets: String, pub thread: String, - pub tab: String, + pub _tab: String, pub streams: RefCell>, pub browsing_context_id: BrowsingContextId, pub active_pipeline: Cell, @@ -288,13 +288,13 @@ impl BrowsingContextActor { title: RefCell::new(String::from(title)), url: RefCell::new(url.into_string()), console: console, - emulation: emulation.name(), - inspector: inspector.name(), - timeline: timeline.name(), - profiler: profiler.name(), - performance: performance.name(), - styleSheets: styleSheets.name(), - tab: tabdesc.name(), + _emulation: emulation.name(), + _inspector: inspector.name(), + _timeline: timeline.name(), + _profiler: profiler.name(), + _performance: performance.name(), + _styleSheets: styleSheets.name(), + _tab: tabdesc.name(), thread: thread.name(), streams: RefCell::new(HashMap::new()), browsing_context_id: id,