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

Unified Diff: components/update_client/test/component_patcher_unittest.cc

Issue 897873002: Make ComponentInstaller refcounted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@2015_01_19_component_installer
Patch Set: fix Created 5 years, 10 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: components/update_client/test/component_patcher_unittest.cc
diff --git a/components/update_client/test/component_patcher_unittest.cc b/components/update_client/test/component_patcher_unittest.cc
index ce6e7a1306a44da61ebaebb41cf1ef683d585261..4f5e14306aa051fc8f363ccca7151d2fbf43946a 100644
--- a/components/update_client/test/component_patcher_unittest.cc
+++ b/components/update_client/test/component_patcher_unittest.cc
@@ -69,7 +69,7 @@ ComponentPatcherOperationTest::ComponentPatcherOperationTest() {
EXPECT_TRUE(unpack_dir_.CreateUniqueTempDir());
EXPECT_TRUE(input_dir_.CreateUniqueTempDir());
EXPECT_TRUE(installed_dir_.CreateUniqueTempDir());
- installer_.reset(new ReadOnlyTestInstaller(installed_dir_.path()));
+ installer_ = new ReadOnlyTestInstaller(installed_dir_.path());
task_runner_ = base::MessageLoop::current()->task_runner();
}
« no previous file with comments | « components/update_client/test/component_patcher_unittest.h ('k') | components/update_client/test/test_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698