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

Unified Diff: chrome/browser/media_galleries/media_galleries_preferences_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/media_galleries/media_galleries_preferences_unittest.cc
===================================================================
--- chrome/browser/media_galleries/media_galleries_preferences_unittest.cc (revision 213177)
+++ chrome/browser/media_galleries/media_galleries_preferences_unittest.cc (working copy)
@@ -86,6 +86,8 @@
}
virtual void SetUp() OVERRIDE {
+ ASSERT_TRUE(test::TestStorageMonitor::CreateAndInstall());
+
extensions::TestExtensionSystem* extension_system(
static_cast<extensions::TestExtensionSystem*>(
extensions::ExtensionSystem::Get(profile_.get())));
@@ -812,7 +814,7 @@
}
TEST(MediaGalleryPrefInfoTest, NameGeneration) {
- test::TestStorageMonitor monitor;
+ ASSERT_TRUE(test::TestStorageMonitor::CreateAndInstall());
MediaGalleryPrefInfo info;
info.pref_id = 1;

Powered by Google App Engine
This is Rietveld 408576698