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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_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/incident_reporting/incident_reporting_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
index 6f6c2290648a3ccb0bc77d981e7e4b2ab527c19d..6c70edcec54d87bbb22617ee5ffc8bdd85a75ddc 100644
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service_unittest.cc
@@ -196,7 +196,7 @@ class IncidentReportingServiceTest : public testing::Test {
IncidentReportingServiceTest()
: task_runner_(new base::TestSimpleTaskRunner),
thread_task_runner_handle_(task_runner_),
- ui_thread_(content::BrowserThread::UI),
+ ui_thread_(content::BrowserThread::UI, base::MessageLoop::current()),
profile_manager_(TestingBrowserProcess::GetGlobal()),
on_create_download_finder_action_(
ON_CREATE_DOWNLOAD_FINDER_DOWNLOADS_FOUND),

Powered by Google App Engine
This is Rietveld 408576698