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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_unittest.cc

Issue 20003005: Fix remaining leaks in StorageMonitorLinux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
Index: chrome/browser/storage_monitor/storage_monitor_unittest.cc
===================================================================
--- chrome/browser/storage_monitor/storage_monitor_unittest.cc (revision 213177)
+++ chrome/browser/storage_monitor/storage_monitor_unittest.cc (working copy)
@@ -23,11 +23,11 @@
TEST(StorageMonitorTest, TestInitialize) {
test::TestStorageMonitor::RemoveSingleton();
test::TestStorageMonitor monitor;
- EXPECT_FALSE(monitor.init_called_);
+ EXPECT_FALSE(monitor.init_called());
bool initialized = false;
monitor.EnsureInitialized(base::Bind(&SetLatch, &initialized));
- EXPECT_TRUE(monitor.init_called_);
+ EXPECT_TRUE(monitor.init_called());
EXPECT_FALSE(initialized);
monitor.MarkInitialized();
EXPECT_TRUE(initialized);

Powered by Google App Engine
This is Rietveld 408576698