Index: net/socket_stream/socket_stream_metrics_unittest.cc |
=================================================================== |
--- net/socket_stream/socket_stream_metrics_unittest.cc (revision 69955) |
+++ net/socket_stream/socket_stream_metrics_unittest.cc (working copy) |
@@ -15,7 +15,7 @@ |
namespace net { |
TEST(SocketStreamMetricsTest, Initialize) { |
- if (!StatisticsRecorder::WasStarted()) { |
+ if (!StatisticsRecorder::IsActive()) { |
// Create the recorder if not yet started, as SocketStreamMetrics |
// relys on the StatisticsRecorder to be present. This is useful when |
// tests are run with --gtest_filter='SocketStreamMetricsTest*'. |