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

Unified Diff: components/autofill/core/browser/test_autofill_driver.cc

Issue 1417353006: Tests: Simplify SequencedWorkerPoolOwner, call Shutdown on destructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adjust formatting and rebase Created 5 years 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/autofill/core/browser/test_autofill_driver.cc
diff --git a/components/autofill/core/browser/test_autofill_driver.cc b/components/autofill/core/browser/test_autofill_driver.cc
index 3eaacd576c868844d8d4a9dd3829b9a0f03017f7..38a83ed7d1b9b2240d36e2a8d1990cfe4d922eb9 100644
--- a/components/autofill/core/browser/test_autofill_driver.cc
+++ b/components/autofill/core/browser/test_autofill_driver.cc
@@ -14,9 +14,7 @@ TestAutofillDriver::TestAutofillDriver()
new base::SequencedWorkerPoolOwner(4, "TestAutofillDriver")),
url_request_context_(NULL) {}
-TestAutofillDriver::~TestAutofillDriver() {
- blocking_pool_owner_->pool()->Shutdown();
-}
+TestAutofillDriver::~TestAutofillDriver() {}
bool TestAutofillDriver::IsOffTheRecord() const {
return false;

Powered by Google App Engine
This is Rietveld 408576698