Commit 7a46922a authored by Olivier Robin's avatar Olivier Robin Committed by Commit Bot

Set kMaxCategories to 300.

When running unittests, number of categories reach 253.
Max number needs to be increased.

Bug: 908002
Change-Id: Iaf8d449eb005b6a5b4e4a2524f913d3eeba54f41
Reviewed-on: https://chromium-review.googlesource.com/c/1373470Reviewed-by: default avatarPrimiano Tucci <primiano@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615841}
parent 6e2a70e4
......@@ -93,7 +93,7 @@ class BASE_EXPORT CategoryRegistry {
using CategoryInitializerFn = void (*)(TraceCategory*);
// The max number of trace categories that can be recorded.
static constexpr size_t kMaxCategories = 250;
static constexpr size_t kMaxCategories = 300;
// Checks that there is enough space for all builtin categories.
static_assert(BuiltinCategories::Size() <= kMaxCategories,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment