summaryrefslogtreecommitdiffstats
path: root/devtools/client/memory/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/memory/reducers')
-rw-r--r--devtools/client/memory/reducers/allocations.js10
-rw-r--r--devtools/client/memory/reducers/individuals.js2
2 files changed, 3 insertions, 9 deletions
diff --git a/devtools/client/memory/reducers/allocations.js b/devtools/client/memory/reducers/allocations.js
index f019705560..895e61676d 100644
--- a/devtools/client/memory/reducers/allocations.js
+++ b/devtools/client/memory/reducers/allocations.js
@@ -9,10 +9,7 @@ const { actions } = require("resource://devtools/client/memory/constants.js");
const handlers = Object.create(null);
-handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_START] = function (
- state,
- action
-) {
+handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_START] = function (state) {
assert(
!state.togglingInProgress,
"Changing recording state must not be reentrant."
@@ -24,10 +21,7 @@ handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_START] = function (
};
};
-handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_END] = function (
- state,
- action
-) {
+handlers[actions.TOGGLE_RECORD_ALLOCATION_STACKS_END] = function (state) {
assert(
state.togglingInProgress,
"Should not complete changing recording state if we weren't changing " +
diff --git a/devtools/client/memory/reducers/individuals.js b/devtools/client/memory/reducers/individuals.js
index 9b5a2c89a5..57b096f870 100644
--- a/devtools/client/memory/reducers/individuals.js
+++ b/devtools/client/memory/reducers/individuals.js
@@ -38,7 +38,7 @@ handlers[actions.FOCUS_INDIVIDUAL] = function (individuals, { node }) {
return immutableUpdate(individuals, { focused: node });
};
-handlers[actions.FETCH_INDIVIDUALS_START] = function (individuals, action) {
+handlers[actions.FETCH_INDIVIDUALS_START] = function (individuals) {
assert(individuals, "Should have individuals");
return Object.freeze({
state: individualsState.FETCHING,