Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1504)

Unified Diff: chrome/browser/chromeos/session_length_limiter_unittest.cc

Issue 49173002: Fix uninitialized read in unit tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/session_length_limiter_unittest.cc
diff --git a/chrome/browser/chromeos/session_length_limiter_unittest.cc b/chrome/browser/chromeos/session_length_limiter_unittest.cc
index 625cb94d28ed2618996bd7380324c8cc2c693738..f522c95e012728e6994cc6b98c8058425520b6a3 100644
--- a/chrome/browser/chromeos/session_length_limiter_unittest.cc
+++ b/chrome/browser/chromeos/session_length_limiter_unittest.cc
@@ -185,7 +185,9 @@ bool MockTimeSingleThreadTaskRunner::TemporalOrder::operator()(
MockTimeSingleThreadTaskRunner::~MockTimeSingleThreadTaskRunner() {
}
-SessionLengthLimiterTest::SessionLengthLimiterTest() : delegate_(NULL) {
+SessionLengthLimiterTest::SessionLengthLimiterTest()
+ : user_activity_seen_(false),
+ delegate_(NULL) {
}
void SessionLengthLimiterTest::SetUp() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698