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

Unified Diff: chrome/browser/safe_browsing/protocol_manager_unittest.cc

Issue 2180253003: Ensure BrowserThread::CurrentlyOn is correct through MessageLoop teardown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix that test for reals Created 4 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/safe_browsing/protocol_manager_unittest.cc
diff --git a/chrome/browser/safe_browsing/protocol_manager_unittest.cc b/chrome/browser/safe_browsing/protocol_manager_unittest.cc
index b08d01a99363fb844e4252d3a11ba16b75205a24..452b801b755690787dd3090f99cb7ab2f88252db 100644
--- a/chrome/browser/safe_browsing/protocol_manager_unittest.cc
+++ b/chrome/browser/safe_browsing/protocol_manager_unittest.cc
@@ -74,7 +74,7 @@ class SafeBrowsingProtocolManagerTest : public testing::Test {
SafeBrowsingProtocolManagerTest()
: runner_(new base::TestSimpleTaskRunner),
runner_handler_(runner_),
- io_thread_(content::BrowserThread::IO) {}
+ io_thread_(content::BrowserThread::IO, base::MessageLoop::current()) {}
~SafeBrowsingProtocolManagerTest() override {}

Powered by Google App Engine
This is Rietveld 408576698