summaryrefslogtreecommitdiffstats
path: root/components/component_updater
diff options
context:
space:
mode:
authortommycli <tommycli@chromium.org>2015-12-02 14:11:30 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-02 22:12:12 +0000
commitfc939726c283e34112d9bc845a39460410fe9cd9 (patch)
tree1b19ca53b35344e75e54585984cb2dfbb46bca28 /components/component_updater
parent62fbdbc1e9f7caaec0fb2248e95e150c65ffa812 (diff)
downloadchromium_src-fc939726c283e34112d9bc845a39460410fe9cd9.zip
chromium_src-fc939726c283e34112d9bc845a39460410fe9cd9.tar.gz
chromium_src-fc939726c283e34112d9bc845a39460410fe9cd9.tar.bz2
Tests: Simplify SequencedWorkerPoolOwner, call Shutdown on destructor.
Also ports remaining tests using raw SWPs to use SWPOwner. BUG=450228 Review URL: https://codereview.chromium.org/1417353006 Cr-Commit-Position: refs/heads/master@{#362805}
Diffstat (limited to 'components/component_updater')
-rw-r--r--components/component_updater/component_updater_service_unittest.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/component_updater/component_updater_service_unittest.cc b/components/component_updater/component_updater_service_unittest.cc
index 9d78eb8..a5a839d 100644
--- a/components/component_updater/component_updater_service_unittest.cc
+++ b/components/component_updater/component_updater_service_unittest.cc
@@ -174,7 +174,6 @@ ComponentUpdaterTest::ComponentUpdaterTest()
ComponentUpdaterTest::~ComponentUpdaterTest() {
EXPECT_CALL(update_client(), RemoveObserver(_)).Times(1);
- worker_pool_->pool()->Shutdown();
component_updater_.reset();
}