Index: net/log/write_to_file_net_log_observer_unittest.cc |
diff --git a/net/log/write_to_file_net_log_observer_unittest.cc b/net/log/write_to_file_net_log_observer_unittest.cc |
index 4cabfe8cc83eece142915f15b53a3ebbe822bbbe..6a8280e627022c1cc19642f4ea18faa8f4eef910 100644 |
--- a/net/log/write_to_file_net_log_observer_unittest.cc |
+++ b/net/log/write_to_file_net_log_observer_unittest.cc |
@@ -67,7 +67,6 @@ TEST_F(WriteToFileNetLogObserverTest, CaptureMode) { |
WriteToFileNetLogObserver logger; |
logger.StartObserving(&net_log_, file.Pass(), nullptr, nullptr); |
EXPECT_EQ(NetLogCaptureMode::Default(), logger.capture_mode()); |
- EXPECT_EQ(NetLogCaptureMode::Default(), net_log_.GetCaptureMode()); |
logger.StopObserving(nullptr); |
file.reset(base::OpenFile(log_path_, "w")); |
@@ -76,8 +75,6 @@ TEST_F(WriteToFileNetLogObserverTest, CaptureMode) { |
logger.StartObserving(&net_log_, file.Pass(), nullptr, nullptr); |
EXPECT_EQ(NetLogCaptureMode::IncludeCookiesAndCredentials(), |
logger.capture_mode()); |
- EXPECT_EQ(NetLogCaptureMode::IncludeCookiesAndCredentials(), |
- net_log_.GetCaptureMode()); |
logger.StopObserving(nullptr); |
} |