summaryrefslogtreecommitdiffstats
path: root/base/event_trace_consumer_win_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/event_trace_consumer_win_unittest.cc')
-rw-r--r--base/event_trace_consumer_win_unittest.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/base/event_trace_consumer_win_unittest.cc b/base/event_trace_consumer_win_unittest.cc
index c964412..6c0a740 100644
--- a/base/event_trace_consumer_win_unittest.cc
+++ b/base/event_trace_consumer_win_unittest.cc
@@ -72,8 +72,7 @@ const wchar_t* const kTestSessionName = L"TestLogSession";
class EtwTraceConsumerBaseTest: public testing::Test {
public:
virtual void SetUp() {
- EtwTraceProperties ignore;
- EtwTraceController::Stop(kTestSessionName, &ignore);
+ EtwTraceController::Stop(kTestSessionName, NULL);
}
};
@@ -246,16 +245,14 @@ class EtwTraceConsumerDataTest: public testing::Test {
}
virtual void SetUp() {
- EtwTraceProperties prop;
- EtwTraceController::Stop(kTestSessionName, &prop);
+ EtwTraceController::Stop(kTestSessionName, NULL);
// Construct a temp file name.
ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_));
}
virtual void TearDown() {
EXPECT_TRUE(file_util::Delete(temp_file_, false));
- EtwTraceProperties ignore;
- EtwTraceController::Stop(kTestSessionName, &ignore);
+ EtwTraceController::Stop(kTestSessionName, NULL);
}
HRESULT LogEventToTempSession(PEVENT_TRACE_HEADER header) {