summaryrefslogtreecommitdiffstats
path: root/devtools/client/memory/reducers/allocations.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/memory/reducers/allocations.js')
-rw-r--r--devtools/client/memory/reducers/allocations.js10
1 files changed, 2 insertions, 8 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 " +