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

Unified Diff: ios/chrome/browser/metrics/first_user_action_recorder.cc

Issue 2592173002: Fix ios_chrome_unittests to crash on DCHECK failure. (Closed)
Patch Set: Address comments Created 4 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: ios/chrome/browser/metrics/first_user_action_recorder.cc
diff --git a/ios/chrome/browser/metrics/first_user_action_recorder.cc b/ios/chrome/browser/metrics/first_user_action_recorder.cc
index d93836cd57efc69cc5476c97874c02f8440c2e1e..aac5e0cf64dc86232b9af3a6e777c54b8dac68c6 100644
--- a/ios/chrome/browser/metrics/first_user_action_recorder.cc
+++ b/ios/chrome/browser/metrics/first_user_action_recorder.cc
@@ -91,8 +91,6 @@ FirstUserActionRecorder::FirstUserActionRecorder(
background_duration_(background_duration),
action_callback_(base::Bind(&FirstUserActionRecorder::OnUserAction,
base::Unretained(this))) {
- base::SetRecordActionTaskRunner(
- web::WebThread::GetTaskRunnerForThread(web::WebThread::UI));
base::AddActionCallback(action_callback_);
}

Powered by Google App Engine
This is Rietveld 408576698