diff --git a/api/test/neteq_simulator_factory.cc b/api/test/neteq_simulator_factory.cc
index 8bb0625bfd..65dc3a8dc4 100644
--- a/api/test/neteq_simulator_factory.cc
+++ b/api/test/neteq_simulator_factory.cc
@@ -19,8 +19,6 @@
 #include "modules/audio_coding/neteq/tools/neteq_test_factory.h"
 #include "rtc_base/checks.h"
 
-namespace {
-
 ABSL_FLAG(std::string,
           replacement_audio_file,
           "",
@@ -31,8 +29,6 @@ ABSL_FLAG(int,
           50,
           "Maximum allowed number of packets in the buffer");
 
-}  // namespace
-
 namespace webrtc {
 namespace test {